How to use the wait action for a event succesfully?

0 favourites
  • 5 posts
From the Asset Store
Add calm and a lounge vibe to your games with these 8 tracks
  • I did a topic about this yesterady but i didn't get enough help there and since new topics tend be seen more i am doing a new one. I have a event that will make the game go to another layer after a set amount of seconds. I want to be able to delay the timed event by a couple of seconds by clicking on a object. The closest i have got to achieving this is the wait action. The problem whit the wait action is that it only can affect actions. The timed event is you know a event. I have tried to make the timed action as a sub event after the wait action but it mkaes the timed event never happen. In hope i explained myself well and will be grateful for a answer. And if you have a answer like the one below, tell me how to put in global numbers and how to use the green earth and such.

  • I would use timer event that might work. I have not tried it yet but, try it and let us know

  • This seems like a job for the timer behaviour..

    I would use it in combination with a variable (instance or global)

    Then it should be something like this:

    on layout start - start timer for variable1 seconds

    on touched object -

    stop timer

    add something to variable1

    start timer for variable1 seconds

    on timer

    goto layout

  • LittleStain thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Usually when I have this problem is just a matter of indentation, as the order of events. Sometimes I put a timed event in a boolean variable to stay active and disabled in a certain time interval.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)