Game survival logic: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{this is a|e0|game=csgo|name=game_survival_logic}} {{DZupdate}}
{{this is a|point entity|game=Counter-Strike: Global Offensive|name=game_survival_logic}} {{DZupdate}}
 


It fires outputs when events happen during Survival mode.
It fires outputs when events happen during Survival mode.


==Keyvalues==
==Keyvalues==
{{KV|[[targetname|Name]] (targetname)|string|The name that other entities refer to this entity by.}}
{{KV Targetname}}
{{KV|Entity Scripts (vscripts)|scriptlist|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.|since=L4D2}}
{{KV|Script think function (thinkfunction)|string|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.|since=L4D2}}


==Outputs==
==Outputs==
{{O BaseEntity}}
{{O|OnZoneRocketWarning|Fired when the warning sound plays that announcing incoming rockets.}}
{{IO|OnZoneRocketWarning|Fired when the warning sound plays that announcing incoming rockets.}}
{{O|OnZoneRocketStartLaunch|Fired when the barrage of rockets start launching (after the announce).}}
{{IO|OnZoneRocketStartLaunch|Fired when the barrage of rockets start launching (after the announce).}}
{{O|OnZoneEndGameStart|Fired when the end game starts and no more rockets will fire, but the zones start shrinking.}}
{{IO|OnZoneEndGameStart|Fired when the end game starts and no more rockets will fire, but the zones start shrinking.}}

Latest revision as of 11:21, 26 September 2024

game_survival_logic is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. It's one of many new entities added with the CS:GO Danger Zone Danger Zone update.

It fires outputs when events happen during Survival mode.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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.