game_survival_logic
Jump to navigation
Jump to search
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
- Name (targetname) ([todo internal name (i)]) <string>
- The name that other entities refer to this entity by.
- Entity Scripts (vscripts) ([todo internal name (i)]) <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) ([todo internal name (i)]) <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
- 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.