CCPTimerLogic: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A timer attached to a control point which begins when it is available for capture.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]'''
Line 27: Line 27:
|-
|-
| style="width: 50%;" |'''m_nTimerLength'''
| style="width: 50%;" |'''m_nTimerLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nTimerTeam'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |

Latest revision as of 08:51, 8 March 2023

Overview[edit | edit source]

A timer attached to a control point which begins when it is available for capture.

Source location : /game/shared/tf/tf_gamerules.h

Linked Entity : tf_logic_cp_timer

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CCPTimerLogic
Name Type Description
InputRoundSpawn
m_iszControlPointName
m_nTimerLength
m_nTimerTeam
m_onCountdown10SecRemain
m_onCountdown15SecRemain
m_onCountdown5SecRemain
m_onCountdownEnd
m_onCountdownStart