How to move multiple actors based on event?

mludlummludlum Member Posts: 2
edited November -1 in Working with GS (Mac)
Is there an example of how to move multiple actors at once, in a single step?

I have a single collision of Actor X with any Actor of type Y that I want to cause the set of actors of type Y to move at once. I tried setting a game attribute, but I can't figure out how to reset that attribute when I need the same actors to move again. In the collision, I'm also moving Actor X and I have set that to run to completion, else it won't work how I need it.

Comments

  • mludlummludlum Member Posts: 2
    There is only one attribute, so the first one that resets the attribute will cause the others to not move. The only solution I have that works (but not fullproof) is to use a timer to reset the attribute. Is there a way to iterate through all actors of a certain type and set a local attribute?
Sign In or Register to comment.