Timers

For questions about using Classic.

Post » Sun Jan 04, 2009 6:51 am

There has to be an easy(easier) way to accomplish this.

When my character dies, I want the system to wait 2.5 seconds, then restart the current frame.

The only way I have been able to successfully achieve this is by creating a "Death" variable, and having it tick down once my hp=0, then once the death variable = 0, to restart the frame.

Isn't there supposed to be timer functions for handling such events?
B
1
G
4
Posts: 2
Reputation: 1,029

Post » Sun Jan 04, 2009 7:14 am

You could do this using the function object using the "Call Function After Delay" action. Then you use the "On Function" condition and restart the layout there.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest

cron