CDODRoundTimer: Difference between revisions

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


== Network Variables (DT_DODRoundTimer) ==
== Network Variables (DT_DODRoundTimer) ==
The following variables are networked, and therefore can be accessed or modified via [[VScript]].
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

C++ Class hierarchy
CDODRoundTimer
CBaseEntity
C++ dod_round_timer.cpp

Stub

This article or section is a stub. You can help by expanding it.

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?