How to call event in level blueprint from a class blueprint?
In my level blueprint I have a custom event called StartSpawningEnemies. I want to call this event from my GameMode blueprint. How would I do that?
asked May 14 '14 at 08:54 PM in Blueprint Scripting
I would put your actual spawner in an actor blueprint. The spawner can be placed in the level and be invisible if need be. Your custom event would be inside. The spawner can either sit at the location where the enemies spawn, or it can be somewhere else and spawn the enemies at a specific location.
Then, you can use Get All Actors of Class to get your spawner class, and Cast to it from your GameMode. Then you call the custom event.
answered May 14 '14 at 11:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here