Forum rules - please read before posting.

take action after pressing buttons

i have 6 button (that i made on menu manager and thoes buttons cary their own action lists) that player should click on them not by order and after that i want to give the player an item . i know i have to use variables but i dont know how should i do this . oh and i forgot to say i know how to use inventory system so my ask is just about run new action after thoes 6 button have been pressed

Comments

  • Create an integer variable to record the number of buttons the player has clicked, and use the Variable: Set Action whenever a button is clicked to increase the value by 1.

    Then use Variable: Check to work out if the player pressed the button at the right time.  For example, if button 2 should be pressed 4th, then check that the variable is 4.  If it isn't the puzzle should reset and the variable should be set back to zero.
Sign In or Register to comment.

Howdy, Stranger!

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

Welcome to the official forum for Adventure Creator.