How to Select Which PlayerStart to Spawn?
Hello. I want to select which playerstart to spawn character there. For example; when the game first starts, character needs to start on PlayerStart1, when he come back from another level, it needs to start on PlayerStart2.
I tried to SpawnActorFromClass but it spawns another actor with my character. I just want character to spawn on points I want.
asked Aug 08 '16 at 08:34 PM in Blueprint Scripting
In order to do this you need to store every player start in an array and override a function.
Please refer to this excellent answer by another user. Remember to vote his answer up.
In your case you have to create some logic so that you know what playerstart to select in what condition. Enums or ints can be used for this. Even strings.
Follow this question
Once you sign in you will be able to subscribe for any updates here