CDODRoundTimer: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) |
||
| Line 4: | Line 4: | ||
== Network Variables (DT_DODRoundTimer) == | == Network Variables (DT_DODRoundTimer) == | ||
The following variables are networked, and therefore can be accessed | 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?