Dod round timer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


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}}.
{{preservedEnt}}

Revision as of 09:28, 19 April 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.

dod_round_timer is an 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.

Icon-Important.pngImportant:This is a preserved entity in Day of Defeat: Source.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.