Dod round timer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabsBar|main=gs|base=dod_round_timer}} {{ent not in fgd|nolink=1|because=it is created automatically and managed by {{ent|dod_control_point_master}} and cannot be controlled manually without vscript}} {{this is a|entity|name=dod_round_timer|game=Day of Defeat: Source}} The round timer. Automatically created when {{code|cpm_use_timer}} is enabled in {{ent|dod_control_point_master}}.")
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{tabsBar|main=gs|base=dod_round_timer}}
{{tabsBar|main=gs|base=dod_round_timer}}
{{CD|CDODRoundTimer|file1=dod_round_timer.cpp}}
{{ent not in fgd|nolink=1|because=it is created automatically and managed by {{ent|dod_control_point_master}} and cannot be controlled manually without [[vscript]]}}
{{ent not in fgd|nolink=1|because=it is created automatically and managed by {{ent|dod_control_point_master}} and cannot be controlled manually without [[vscript]]}}
{{this is a|entity|name=dod_round_timer|game=Day of Defeat: Source}}  
{{preserved entity}}
{{this is a|logical entity|name=dod_round_timer|game=Day of Defeat: Source}}  


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.