Env effectscript: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(-added class hierarchy) |
||
Line 1: | Line 1: | ||
{{lang|Env effectscript}} | {{lang|Env effectscript}} | ||
{{CD|CEnvEffectsScript}} | |||
{{Entity|env_effectscript|type=e0}} It allows scripting special visual effects via a script file. Two are used in {{ent|d1_trainstation_05}}{{hl2}}. | {{Entity|env_effectscript|type=e0}} It allows scripting special visual effects via a script file. Two are used in {{ent|d1_trainstation_05}}{{hl2}}. | ||
Revision as of 07:32, 24 February 2023
![]() |
---|
CEnvEffectsScript |
Template:Entity It allows scripting special visual effects via a script file. Two are used in d1_trainstation_05.
Keyvalues
- Script Model (model) <model path>
- Model to use for animation sequences. Defaults to
models/Effects/teleporttrail.mdl
.
- Script File (scriptfile) <string>
- Name of the script to use for this model. Defaults to
scripts/effects/testeffect.txt
.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- SetSequence <string >
- Sets the script model's sequence.