I want to perform an action when a condition is met but I’m unsure about the approach.
When the condition is true I need to set properties on a number of actors (potentially thousands)
Do I, on condition, for each actor set property This feels like a serial process i.e. set property, I mean for each literally returns an array that you iterate right?
Bind actors to an event, when the condition is met update the property on actors.
While this is not an array (I mean I haven’t tried digging into stuff that’s not visible in the blueprints, but it feels like a parallel process but maybe in the backend it’s still implemented as an array.
Which option is better?