Dod round timer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(i guess)
No edit summary
 
Line 6: Line 6:


The round timer. Automatically created when {{code|cpm_use_timer}} is enabled in {{ent|dod_control_point_master}}.
The round timer. Automatically created when {{code|cpm_use_timer}} is enabled in {{ent|dod_control_point_master}}.
{{codenote|Fires the {{code|[[Day_of_Defeat:_Source/Scripting/Game_Events#dod_timer_flash|dod_timer_flash]]}} GameEvent when 2  and 1 minutes remain; this can be intercepted with [[VScript]] to fire outputs.}}

Latest revision as of 08:51, 26 November 2025

C++ Class hierarchy
CDODRoundTimer
CBaseEntity
C++ dod_round_timer.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it is created automatically and managed by dod_control_point_master and cannot be controlled manually without vscript.
Recycle-warning.png
This is a preserved entity in Day of Defeat: Source
If the game has round restart mechanics this entity may not behave as expected.

dod_round_timer is a logical entity available in Day of Defeat: Source Day of Defeat: Source.

The round timer. Automatically created when cpm_use_timer is enabled in dod_control_point_master.

Cpp.pngCode:Fires the dod_timer_flash GameEvent when 2 and 1 minutes remain; this can be intercepted with VScript to fire outputs.