In Level Blueprint, how to create references to Actors spawned at runtime?
I have a GameMode that spawns different (1-4) controllable characters at runtime. I would like to use the Level Blueprint to switch pawn possession using hotkeys (1-4 for example) like in this tutorial.
How can I instruct it to search for characters, add them to a list/array of references, and then enable the hotkey swap like in the tutorial?
Thanks in advance.
asked Feb 26 '16 at 05:16 PM in Blueprint Scripting
Save their references inside GameMode after spawning, then call GetGameMode inside Level BP, cast to your type and you can get the references.
answered Feb 26 '16 at 07:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here