help with timers

Talk about making games.

help with timers

Postby mt » Mon Jan 29, 2007 11:59 am

ok i don't really know how to work with timers so i need some help.
i created 2 timers on an actor i call button1. what i want to do is have another actor button2 that when pressed restarts the 2 timers i created on button1. is there anyway i can do that?
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby makslane » Mon Jan 29, 2007 12:51 pm

Create an Actication Event from button2 to button1.
When button1 receives the activation event from button2, set the timers again.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby mt » Tue Feb 06, 2007 9:36 am

well there is another problem, the timer starts one time but we want to put it into a kind of loop so that it can start again and again..how to do it?
Button 1 starts the timer and button 2 resets the timer...
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby makslane » Tue Feb 06, 2007 1:14 pm

Use a repeat forever timer.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest