change timer length

You must understand the Game Editor concepts, before post here.

change timer length

Postby JayInACob » Thu Aug 27, 2009 7:44 am

is it possible to make a timer length equal to a variable so its length can be frequently changed during a game. thanks! :)
JayInACob
 
Posts: 6
Joined: Fri Aug 17, 2007 5:00 pm
Score: 0 Give a positive score

Re: change timer length

Postby cforall » Thu Aug 27, 2009 8:04 am

JayInACob wrote:is it possible to make a timer length equal to a variable so its length can be frequently changed during a game. thanks! :)


Hi~use
Code: Select all
int timerlength = 1000;
CreateTimer("youractor", "yourtimer", timerlength);
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest