This article's documentation is for anything that uses the Source engine. Click here for more information.

Vote controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-preserved ent)
(-not in portal2, asw)
Line 2: Line 2:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{CD|CVoteController|file1=vote_controller.cpp}}
{{CD|CVoteController|file1=vote_controller.cpp}}
{{this is a|e0|name=vote_controller}} It controls the voting system in game.
{{this is a|e0|except-multi={{asw}}{{portal2}}|name=vote_controller}} It controls the voting system in game.
{{PreservedEnt|vote_controller}}
{{PreservedEnt|vote_controller}}



Revision as of 03:03, 9 February 2024

Stub

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

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CVoteController
CBaseEntity
C++ vote_controller.cpp

vote_controller is an e0 available in all Source Source games except Alien SwarmPortal 2. It controls the voting system in game.

Icon-Important.pngImportant:This is a preserved entity in Team Fortress 2Left 4 DeadLeft 4 Dead 2Counter-Strike: Global Offensive.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.

See also