This article's documentation is for anything that uses the Source engine. Click here for more information.

env_effectscript

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
Class hierarchy
CEnvEffectsScript
CBaseAnimating
CBaseEntity
env_effectsscript.cpp

env_effectscript is a point entity available in all Source Source games. It allows scripting special visual effects via a script file. Two are used in d1_trainstation_05Half-Life 2.

Keyvalues

Name (targetname) <string>
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

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.

See also