Is there any type of "then" command?

FlyboyTrevy_FlyboyTrevy_ Member, PRO Posts: 148
edited January 2015 in Community Tutorials

So I have a button, and when it is pressed it moves an actor to a certain position. But it stays there. How would I make it so that after a certain amount of time it moves back to its original position.

So like right now I have a timer with "for 5 seconds do" and then it carrys out the movement of the actor. Is there any type of Then command that could go along with that. Like how would I have game salad carry out a set of properties for a certain amount of time, then once those are done to completion, then do another set of properties.

Comments

  • Spalding004Spalding004 Member, BASIC Posts: 89

    If you wanted to use timers, you could include an "AFTER 5" command after your "FOR 5" with what you wanted to happen after that time.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Checkout my GSLogic series it will help you learn the basics of how to code in GS.

Sign In or Register to comment.