Time delay on commands
#9

Ah that's great. Thanks a lot for the help. About this bit:

Quote:

increment a global variable in a repeating timer of 1 second and use this variable instead.

I'm not 100% sure what you mean here...something like this?

Код:
new TickCount;
forward RaiseCount();

public OnGameModeInIt()
{
    SetTimer("RaiseCount", 1000, 1);
}

public RaiseCount()
{
    TickCount++;
}
And then use the TickCount variable in my commands?
Reply


Messages In This Thread
Time delay on commands - by lol2112 - 26.05.2009, 21:20
Re: Time delay on commands - by Simon - 27.05.2009, 11:49
Re: Time delay on commands - by lol2112 - 27.05.2009, 12:01
Re: Time delay on commands - by yom - 27.05.2009, 12:10
Re: Time delay on commands - by lol2112 - 27.05.2009, 12:26
Re: Time delay on commands - by yom - 27.05.2009, 12:45
Re: Time delay on commands - by lol2112 - 27.05.2009, 13:25
Re: Time delay on commands - by yom - 27.05.2009, 14:06
Re: Time delay on commands - by lol2112 - 27.05.2009, 14:33
Re: Time delay on commands - by yom - 27.05.2009, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)