Referencing multiple actors from the same class in level blueprint
Hello. I want to make a simple AI using [Simple Move to Actor]. I want the enemy to start following the player, when he touches a trigger. I used the [Create a Reference to Enemy], but that way it only triggers one enemy and I want it to trigger multiple enemies. Also I want to do this in the Level Blueprint.
Can someone help me?
asked Jan 13 '17 at 05:18 PM in Blueprint Scripting
Get all actors of class (enemy blueprint type) --- Drag off a pin from the array result and For Each Loop
Whatever you do on the loop that uses the result will apply to all such actors on the given map.
answered Jan 13 '17 at 06:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here