How can I cause a button click to move a SEPARATE actor

TysuruTysuru Member Posts: 14
edited April 2012 in Working with GS (Mac)
I'm working on a camera effect and can't seem to find out how to cause a button click to move a certain actor that is controlling my camera.

Any thoughts?

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer
    If you're just wanting an actor to move when another actor is clicked, create a game-level attribute called game.Actor1Clicked. In Actor1's rules, add a rule that says When touch is pressed, change attribute game.Actor1Clicked to true. In Actor2's rules, add a rule that says When attribute game.Actor1Clicked is true, [move the actor].

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Answers

Sign In or Register to comment.