Hi all,
I'm developing a Behavior that has an Action which will narrow down the selected instances (of the object with that behavior) by comparing some parameters and properties. The problem I have is that the SOL does not reset to select_all after an Event block.
e.g.
-> Every Tick
--> [Action] Sprite | Pick instances where Property value is "Parameter value" #Selects 1 sprite.
-> Every Tick
--> [Action] Sprite | Set X to Sprite.X + 50 * dt
Expected result:
- All sprite objects to move.
Actual result:
- Only the selected sprite object moves. (It stays that way until another condition picks all of the object type)
However, it works as intended if I simply add an object parameter to the action (even without modifying the runtime code to use the object type).
Any ideas? (Is it actually OK to change the SOL of an object type through an action?)
Thanks!