Env effectscript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Didn't add much. Removed stub because together with the other article, what more could really be added?)
Line 1: Line 1:
{{wrongtitle|title=env_effectscript}}
{{wrongtitle|title=env_effectscript}}
{{stub}}
 
==Entity Description==
==Entity Description==
An entity that allows you to script special visual effects via a script file.
An entity that allows you to script special visual effects via a script file.


==Keyvalues==
==Keyvalues==
*{{kv targetname}}
* {{kv targetname}}
*{{kv parentname}}
* {{kv parentname}}
*{{kv angles}}
* {{kv angles}}
*'''model''' <[[studio]]>
* '''model'''
:Model to use for animation sequences.
: <[[studio]]> Script Model - Model to use for animation sequences. Defaulted to ''models/Effects/teleporttrail.mdl''.
*'''scriptfile''' <string>
* '''scriptfile'''
:Name of the script to use for this model.
: <string> Script File - Name of the script to use for this model. Defaulted to ''scripts/effects/testeffect.txt''.


<!--This entity doesn't have any flags.-->
==Inputs==
==Inputs==
*{{i targetname}}
* {{i targetname}}
*{{i parentname}}
* {{i parentname}}
*'''SetSequence''' <string>
* '''SetSequence <string>'''
:Sets the script model's sequence.
: Sets the script model's sequence, starting the effect.


==Outputs==
==Outputs==

Revision as of 10:05, 11 April 2006

Template:Wrongtitle

Entity Description

An entity that allows you to script special visual effects via a script file.

Keyvalues

<studio> Script Model - Model to use for animation sequences. Defaulted to models/Effects/teleporttrail.mdl.
  • scriptfile
<string> Script File - Name of the script to use for this model. Defaulted to scripts/effects/testeffect.txt.

Inputs

Sets the script model's sequence, starting the effect.

Outputs

See also