Cycler: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 22: Line 22:


==Inputs==
==Inputs==
* {{i targetname}}
* {{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 used to display a model for testing purposes. Shooting it will cycle through the model's animations.

Keyvalues

<studio>
  • skin
<integer> Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.
  • sequence
<integer> Default animation sequence for the model to be playing after spawning.

Flags

  • 1 : Not Solid

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/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 <stringRedirectInput/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 cycler's sequence.
  • Alpha <integer>
Sets the cycler's alpha value.

Outputs