x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Open the game loading last position of the character

Hello world!!! I know, there are plenty of tutorials about "loading the last position of the character in the game" but, i cannot find any solution for my problem. alt textalt textalt textalt text I have billypb and inside there are the "save" tab and "load" tab. A lot of informations are correctly store (automatically saved) on "PlayerInfo". Informations like Score, Level, Coin and Grade. So, when i open the game, it recalls every information but it cannot remember where the player was in last session. I have created the "spawn" vector variable and i have used GetActorLocation node to pass the information. However when i reopen the game, the player starts always at the original place, What i'm in wrong?

Product Version: UE 4.20
Tags:
save1p.png (142.8 kB)
save2p.png (148.6 kB)
load1p.png (93.1 kB)
load2p.png (170.1 kB)
more ▼

asked Oct 24 '18 at 03:49 PM in Using UE4

avatar image

miaminl
6 2 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

What triggers the load to happen? Is it a manual action or automatic? If automatic, then which blueprint does it and what triggers it to happen? Also does your level have an autopossessed pawn already placed in it? If so, then it will start there every time but then switch to the loaded pawn when you load the game (if your load game procedure spawns AND possesses the loaded pawn OR teleports the existing one)

more ▼

answered Oct 24 '18 at 04:53 PM

avatar image

mightyenigma
3.8k 18 20 20

avatar image miaminl Oct 25 '18 at 03:54 PM

Thanks for your answer. Excuse me, i'm not an UE4 expert user. I solved with your suggestion. I have created this other on my character blueprint graph event begin. Now it works!!! alt text

characterbp.jpg (72.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question