Push the Button and open the Door

PhilipppuusPhilipppuus Member Posts: 62
edited April 2014 in Working with GS (Mac)

Hi folks :smile: !
I try to create a Button and when i press the Button, I want that the actor (Actor door) moves from A to B. How do I move an Actor after pushing a Button (Actor Door) from A to B ? I dont want that the Actor door disapear. I want that the Door moves from right to left only after pressing the Button !

Thank you so much !

Comments

  • hesdeadjimhesdeadjim Member, PRO Posts: 38

    You might want to make a global attrib like BOOL "open_door". The button can change the global attrib. Then put a rule in the door actor that checks the global attrib, and opens the door when it's true.

Sign In or Register to comment.