game_survival_logic
game_survival_logic
is a point entity available in Counter-Strike: Global Offensive. It's one of many new entities added with the Danger Zone update.
It fires outputs when events happen during Survival mode.
Keyvalues
- Entity Scripts (vscripts)
(???)
<scriptlist> (in all games since ) - Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
- Script think function (thinkfunction)
(???)
<string> (in all games since ) - Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call. Try to avoid expensive operations in this function, as it may cause performance problems.
Outputs
Base:
OnUser1
toOnUser4
- These outputs each fire in response to the firing of the like-numbered
FireUser1
toFireUser4
Input; see User Inputs and Outputs.
OnZoneRocketWarning
- Fired when the warning sound plays that announcing incoming rockets.
OnZoneRocketStartLaunch
- Fired when the barrage of rockets start launching (after the announce).
OnZoneEndGameStart
- Fired when the end game starts and no more rockets will fire, but the zones start shrinking.