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

vote_controller

From Valve Developer Community
Jump to: navigation, search

Stub

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

Info.png
This entity is not in the FGD by default .
It should not be put directly in a map.
class hierarchy
CVoteController defined in vote_controller.cpp
CBaseEntity

vote_controller is a point entity available in all Source Source games except Alien SwarmPortal 2. It controls the voting system in game.

Note.pngNote:This is a preserved entity in Team Fortress 2Left 4 DeadLeft 4 Dead 2Counter-Strike: Global Offensive.
  • On a new round, its properties including its position 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