How can i make my Box Trigger not available when there are AI in the level and when they are all dead The Box Trigger Becomes available
So im doing a arena type game where you need to kill all the AI inside the level to go into a another Level via box trigger,so im trying to find out how can i disable the box trigger when the ai are alive and be available when they are all dead.
asked Aug 03 '16 at 04:30 PM in Using UE4
You could make your own Spawn Manager class. Make an entrance trigger volume parameter, and bind the overlap event in the spawn manager to spawn a bunch of units (also settable via parameter or data table). Track the life of the enemies within the spawn manager and when they all die fire an event that enables your end action.
answered Aug 03 '16 at 05:33 PM
You could also use the GetAllActorsOfClass node and check each AI if they are dead
Hope this is helpfull :)
answered Aug 04 '16 at 02:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here