ChangeAnimArchetype - Actor
Revision as of 18:49, 16 October 2016 by imported>Qazaaq (animation category)
Member of: Actor Script
Adds the specified AnimArchetype keyword to this actor.
Syntax
bool Function ChangeAnimArchetype(keyword apKeyword = none) native
Parameters
- apKeyword: The AnimArchetype keyword to add to this actor.
- Default: none
Return Value
True on success.
Examples
; Adds the AnimArchetypeConfident keyword to the actor
ActorToChange.ChangeAnimArchetype(AnimArchetypeConfident)
; Removes any existing AnimArchetype keyword from the actor (sets actor back to 'Neutral')
ActorToChange.ChangeAnimArchetype()