Info gascanister launchpoint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:
{{note|If this entity does not exist it will be create at the origin of [[trigger_survival_playarea]].}}
{{note|If this entity does not exist it will be create at the origin of [[trigger_survival_playarea]].}}
{{note|This entity can be placed in [[3D Skybox]] and its location will be translated with other contents of 3D sky.}}
{{note|This entity can be placed in [[3D Skybox]] and its location will be translated with other contents of 3D sky.}}
==Keyvalues==
{{KV|[[targetname|Name]] (targetname)|string|The name that other entities refer to this entity by.}}
{{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}}

Revision as of 09:21, 11 December 2018

info_gascanister_launchpoint 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's used for Survival mode maps to specify where gas canister missiles should launch from.

Note.pngNote:If this entity does not exist it will be create at the origin of trigger_survival_playarea.
Note.pngNote:This entity can be placed in 3D Skybox and its location will be translated with other contents of 3D sky.

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 Left 4 Dead 2)
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 Left 4 Dead 2)
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.