This article's documentation is for the "GoldSrc" engine. Click here for more information.

dod_round_timer

From Valve Developer Community
Jump to navigation Jump to search

dod_round_timer is a point entity available in Day of Defeat Day of Defeat. This item is a useful clock usually displayed on the players HUD to let them know exactly how long they have left to complete their objective. Note that once a timer is running it cannot be stopped, in order to prevent effects from triggering when the timer expires you will have to disable the effects.

Key Values

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target (target) <targetname>
Entity to trigger when timer reaches zero
Master (master) <targetname>
Name of a master entity.
Timer Length (in seconds) (round_timer_length) <targetname>
Lenght of the round timer in seconds.

Flags

Shown On HUD : [1]

Determines if the timer is visible in the HUD or not.

Start Off : [2]

The timer is not running on map start unless an other entity activates it.