Make actor's copies do a behaviour at the same time

kiwacikiwaci Member, PRO Posts: 72

i made an actor and i put it on the game scene serval times, i want the copies that i made on the scene to do the same behaviour at the same time, for example , if another actor collide with any copy all the copies jump or change color at the same time. I don't know if you understand me, but if you do please help me.

Thank you.

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited June 2014

    Make a boolean game attribute.

    In the actor place a rule that say when the actor is touched (or whatever you want to trigger the action) then change the game attribute to 'true'.

    In the actor place a second rules that say, when the game attribute is 'true' then do whatever it is you want it to do (change colour / jump / etc).

  • kiwacikiwaci Member, PRO Posts: 72

    @Socks said:
    Make a boolean game attribute.

    In the actor place a rule that say when the actor is touched (or whatever you want to trigger the action) then change the game attribute to 'true'.

    In the actor place a second rules that says, when the game attribute is 'true' then do whatever it is you want it to do (change colour / jump / etc).

    Thanks a lot , it worked :smiley:

Sign In or Register to comment.