Understanding timer condtion

New day, new problems. I’m sure this is a simple question, but I guess the problem is that I don’t really “get” the timer functionality just yet.

What I want is just to display an object and hide it after some seconds.

I’m able to show an object after another one has faded out, but not remove it.

[attachment=0]timer.png[/attachment]

The condition “The timer “myNiceTimer” is greater to X seconds” will be true when the timer named “myNiceTimer” will have reach X seconds, and will stay true as long as the timer is not reset.

Here is what your events are doing :

If I assume that the condition of Event 4 is true, the opacity of logo will decrease.

… ( Some time later )…

When the opacity of logo is 0, the 5th event’s conditions will be true. The timer will be reseted to 0, variable presents will be set to 1 and Presents will be show.
The 6th event’s actions won’t be launched as the conditions are false ( the timer is not greater than 2 seconds, as it have been just reseted to 0! )

Then, Game Develop will do the events again :
As the opacity of logo is still 0, the 5th event’s conditions will be true. The timer will be reseted to 0, variable presents will be set to 1 and Presents will be show.
The 6th event’s actions won’t be launched as the conditions are false ( the timer is not greater than 2 seconds, as it have been just reseted to 0! )

Then, Game Develop will do the events again :
As the opacity of logo is still 0, the 5th event’s conditions will be true. The timer will be reseted to 0, variable presents will be set to 1 and Presents will be show.
The 6th event’s actions won’t be launched as the conditions are false ( the timer is not greater than 2 seconds, as it have been just reseted to 0! )

Then, Game Develop will do the events again :
As the opacity of logo is still 0, the 5th event’s conditions will be true. The timer will be reseted to 0, variable presents will be set to 1 and Presents will be show.
The 6th event’s actions won’t be launched as the conditions are false ( the timer is not greater than 2 seconds, as it have been just reseted to 0! )

Then, Game Develop will do the events again :
As the opacity of logo is still 0, the 5th event’s conditions will be true. The timer will be reseted to 0, variable presents will be set to 1 and Presents will be show.
The 6th event’s actions won’t be launched as the conditions are false ( the timer is not greater than 2 seconds, as it have been just reseted to 0! )

Conclusion : The timer will never be greater than 2 seconds :slight_smile:

Yeah that sounds logical :slight_smile:

But doesn’t this mean I can just remove the timer conditions and actions in the 5th event, and do something like the below in the 6th event

condition:
the timer x is greater to y seconds
actions:
hide the object z

without resetting anything or using variables? It still doesn’t disappear.