Pages: [1]
Author Topic: How to use ex_timer to make maps against the clock  (Read 7561 times)
ChromeAngel
Administrator
Marine Chaplain
*****
Posts: 1267


View Profile WWW
« on: October 16, 2011, 06:06:46 PM »

The ex_timer entity was added to EX in a recent alpha version to keep players informed about the progress of time based missions, such as those used in Thunderhawk and Space Hulk maps.

It acts much like an output with a delay, but provides additional information to the players. 

The "length" property dictates how long the timer runs for in seconds.  This is translated into minutes and seconds for display purposes, but must always be specified in seconds.

The "title" property specifies a translation token (as used with missions and objectives) to specify the text that appears next to the timer.

Use the "Start" input to set the timer counting down.  ex_timer also has Pause, Resume and Stop inputs that should work like a media player, although these features have no been used so far. and may be buggy.

When a countdown reaches zero it will fire it's "OnFinish" output, which you can use to start the scripted event you've been counting down to.

You can have as many ex_timers running as you like, however there is only room form about 6 lines of text at the top of the HUD, so try not to have more than six timers running at the same time.
Logged

Pages: [1]
Print
Jump to: