Env effectscript: Difference between revisions
Jump to navigation
Jump to search
(-class hierarchy) |
m (→Inputs: Substituted IO templates) |
||
Line 8: | Line 8: | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|SetSequence|Sets the script model's sequence.|param=string}} | ||
==See also== | ==See also== | ||
*[[Creating an Effectscript model]] | *[[Creating an Effectscript model]] | ||
*[[Particle System Overview]] | *[[Particle System Overview]] |
Revision as of 10:07, 21 April 2025
![]() |
---|
CEnvEffectsScript |
![]() |
env_effectscript
is a point entity available in all Source games. It allows scripting special visual effects via a script file. Two are used in d1_trainstation_05
.
Keyvalues
- 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
- 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
.
Inputs
- SetSequence <string >
- Sets the script model's sequence.