CDODRoundTimer: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) (Created page with "{{CD|CDODRoundTimer|file1=dod_round_timer.cpp}} {{stub}} == Network Variables (DT_DODRoundTimer) == {{SendProp|m_bTimerPaused|bool}} {{SendProp|m_flTimeRemaining|float}} {{SendProp|m_flTimerEndTime|float}}") |
SirYodaJedi (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{CD|CDODRoundTimer|file1=dod_round_timer.cpp}} | {{CD|CDODRoundTimer|file1=dod_round_timer.cpp}} | ||
{{stub}} | {{stub}} | ||
This entity will have the classname {{ent|dod_round_timer}} in-game; it is spawned via game code. | |||
== Network Variables (DT_DODRoundTimer) == | == Network Variables (DT_DODRoundTimer) == | ||
The following variables are networked, and therefore can be accessed via [[VScript]], but direct modification may not work as expected. | |||
{{SendProp|m_bTimerPaused|bool}} | {{SendProp|m_bTimerPaused|bool}} | ||
:Is the timer paused? | |||
{{SendProp|m_flTimeRemaining|float}} | {{SendProp|m_flTimeRemaining|float}} | ||
:How many seconds until the round expires? | |||
{{SendProp|m_flTimerEndTime|float}} | {{SendProp|m_flTimerEndTime|float}} | ||
:What absolute time will the timer stop? | |||
Latest revision as of 08:44, 26 November 2025
| CDODRoundTimer |
This entity will have the classname dod_round_timer in-game; it is spawned via game code.
Network Variables (DT_DODRoundTimer)
The following variables are networked, and therefore can be accessed via VScript, but direct modification may not work as expected.
m_bTimerPaused <bool>
- Is the timer paused?
m_flTimeRemaining <float>
- How many seconds until the round expires?
m_flTimerEndTime <float>
- What absolute time will the timer stop?