Starting a thread 1 minute before the round ends?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
OMG Diablo
Lance Corporal
Posts: 16
Joined: Sun Mar 07, 2004 7:42 pm

Starting a thread 1 minute before the round ends?

Post by OMG Diablo »

I have seen somewhere how to have a coutdown in the script which will start something x minutes before the end of the round

but I can't remember how :(

Can anyone help please?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post by tltrude »

Not really sure, but this might work.

local.time = (getcvar(timelimit))
if ((local.time - level.time) == 1)
//do this

It would have to be in a looping thread.
Tom Trude,

Image
Post Reply