mapvetopick_controller

From Valve Developer Community
Jump to: navigation, search

<Counter-Strike: Global Offensive> mapvetopick_controller is a point entity available in Counter-Strike: Global Offensive. Added with the Broken Fang update.

Entity Description

Map veto controller.

Keyvalues

Angles:

Pitch Yaw Roll (Y Z X) (angles) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Outputs

OnMapVetoed
Triggered when a map is vetoed (multiple times at once)
OnMapPicked
Triggered when a map is picked to be played (usually one)
OnSidesPicked
Triggered when sides are decided (0 = stay, 1 = switch)
OnNewPhaseStarted
Triggered when new veto pick phase starts ( n = phase )
OnLevelTransition
Triggered when level transition begins ( n = phase )