GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How do I reference actors?

I want to make it that when, for example, actor 1 is clicked, actor 2 will move to the left, but I'm not sure how to reference another actor 2 within the rules or behaviours of actor 1. How do I do it? Please help.

Thanks

Answers

  • UtopianGamesUtopianGames Posts: 5,685Member
    edited April 2014

    You need to use game.attributes like a boolean for e.g. if touch is pressed change game.left to true otherwise change game.left to false and in actor 2 if game.left is true do…you can also make self attributes and go through an unlocked actor to access another but as your new start with game.attributes.

    Darren.

Sign In or Register to comment.