Template:I LeadGoalBase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{I Targetname}}
{{I Targetname}}
* {{I Parentname}}
 
* '''Activate'''
{{I Parentname}}
: Begin the leading behavior
 
* '''Deactivate'''
{{IO|Activate|Begin the leading behavior.}}
: Stop the leading behavior
 
* '''SetSuccess'''
{{IO|Deactivate|Stop the leading behavior.}}
: Notify success of leading
 
* '''SetFailure'''
{{IO|SetSuccess|Notify success of leading.}}
: Notify failure of leading
 
{{IO|SetFailure|Notify failure of leading.}}

Revision as of 05:19, 4 February 2012


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.


Activate
Begin the leading behavior.


Deactivate
Stop the leading behavior.


SetSuccess
Notify success of leading.


SetFailure
Notify failure of leading.