Enemy Spawn System
I am working on a spawn system, I have it setup and right now a basic kill the pawn and respawn after a delay works. What I am trying to do now is setup special spawns. I want to only allow spawns on this spot if a certain enemy is not currently alive and if it has been recorded as having been killed. Then disable the same enemies' spawn point if the special spawn has spawned. I set up an actor BP with a capsule and created children from this. I created an array on the parent but when I call a getter on it, it does not show the contents on the children BP's. Another question is would it be better to do this strictly in the level BP. As of right now I can set any number of my spawn points and the work correctly independently of each other. I tried a get all actors of class and on the spawn I wanted I used a contains and I am not sure how to set the variable for the Item I am looking for, the variable is of the character class. Any help would be appreciated. If you need to see any of my BP's to help let me know.
asked May 04 '15 at 11:56 PM in Blueprint Scripting
I'm not sure what this means. Could you perhaps show the blueprint and explain what you're not seeing?
I wouldn't do it in the level blueprint. This is a good candidate for being a blueprint that can be placed in any level. I'd set it up basically like this:
This would let you place spawn points that each have their own unique enemy spawned and will only be able to spawn enemies once the previous one has been destroyed. Actually triggering the spawn event (e.g. on a timer or trigger) could be achieved in the level blueprint or perhaps in a subclassed blueprint.
I hope that helps.
answered May 05 '15 at 01:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here