Env effectscript: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 19: | Line 19: | ||
<!--This entity doesn't have any flags.--> | <!--This entity doesn't have any flags.--> | ||
==Inputs== | ==Inputs== | ||
* {{ | * {{I Targetname}} | ||
* {{I Parentname}} | * {{I Parentname}} | ||
* '''SetSequence <string>''' | * '''SetSequence <string>''' |
Revision as of 19:36, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
An entity that allows you to script special visual effects via a script file.
See also
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
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- SetSequence <string>
- Sets the script model's sequence, starting the effect.