Vote controller: Difference between revisions
Jump to navigation
Jump to search
Important:This is a preserved entity in 


.
If the game has round restart mechanics this entity may not behave as expected:
Warning:Killing this entity may crash the game.
(its position in the world irrelevant so it's logical entity) |
No edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{ent not in fgd| | {{ent not in fgd|codeonly=1}} | ||
{{CD|CVoteController|file1=vote_controller.cpp}} | {{CD|CVoteController|file1=vote_controller.cpp}} | ||
{{this is a|logical entity|except-multi={{asw}}{{portal2}}|name=vote_controller}} It controls the voting system in game. It's spawned | {{this is a|logical entity|except-multi={{asw}}{{portal2}}|name=vote_controller}} It controls the voting system in game. It's spawned automatically in games where voting by players is available such as {{l4ds|2}}, {{tf2|2}}, {{csgo|2}}. | ||
{{PreservedEnt|vote_controller}} | {{PreservedEnt|vote_controller}} | ||
{{warning|Killing this entity may crash the game.}} | {{warning|Killing this entity may crash the game.}} | ||
== See also == | == See also == | ||
* | * {{ent|cs_team_manager}} | ||
* | * {{ent|terror_gamerules}} | ||
* | * {{ent|terror_player_manager}} | ||
* | * {{ent|scene_manager}} | ||
* | * {{ent|soundent}} |
Revision as of 17:49, 30 April 2025

![]() |
---|
CVoteController |
![]() |
vote_controller
is a logical entity available in all Source games except
. It controls the voting system in game. It's spawned automatically in games where voting by players is available such as
Left 4 Dead series,
Team Fortress 2,
Counter-Strike: Global Offensive.





If the game has round restart mechanics this entity may not behave as expected:
|
