ChangeAnimArchetype - Actor
Revision as of 13:13, 27 May 2018 by imported>Cobalt027 (→Notes)
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()
Notes
Core Archetypes:
- AnimArchtypeConfident (0x00022E49)
- AnimArchtypeDepressed (0x0003D292)
- AnimArchtypeElderly (0x00075B80)
- AnimArchtypeFastWalk (0x001C0BFB)
- AnimArchtypeFriendly (0x0003D290)
- AnimArchtypeIrritated (0x00024593)
- AnimArchtypeNervous (0x0003D28F)
- AnimArchtypePlayer (0x0006B508)
- AnimArchtypeScared (0x0005F763)
- AnimArchtypeShocked (0x00160494)