ChangeAnimArchetype - Actor
Jump to navigation
Jump to search
Member of: Actor Script
Adds the specified AnimArchetype keyword to this actor.
Syntax[edit | edit source]
bool Function ChangeAnimArchetype(keyword apKeyword = none) native
Parameters[edit | edit source]
- apKeyword: The AnimArchetype keyword to add to this actor.
- Default: none
Return Value[edit | edit source]
True on success.
Examples[edit | edit source]
; 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[edit | edit source]
Core Archetypes:
- AnimArchtypeConfident (0x00022E49)
- AnimArchtypeDepressed (0x0003D292)
- AnimArchtypeElderly (0x00075B80)
- AnimArchtypeFastWalk (0x001C0BFB)
- AnimArchtypeFriendly (0x0003D290)
- AnimArchtypeIrritated (0x00024593)
- AnimArchtypeNervous (0x0003D28F)
- AnimArchtypePlayer (0x0006B508)
- AnimArchtypeScared (0x0005F763)
- AnimArchtypeShocked (0x00160494)