ChangeAnimArchetype - Actor

Member of: Actor Script

Adds the specified AnimArchetype keyword to this actor.

SyntaxEdit

bool Function ChangeAnimArchetype(keyword apKeyword = none) native

ParametersEdit

  • apKeyword: The AnimArchetype keyword to add to this actor.
    • Default: none

Return ValueEdit

True on success.

ExamplesEdit

; 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()


NotesEdit

Core Archetypes:

  • AnimArchtypeConfident (0x00022E49)
  • AnimArchtypeDepressed (0x0003D292)
  • AnimArchtypeElderly (0x00075B80)
  • AnimArchtypeFastWalk (0x001C0BFB)
  • AnimArchtypeFriendly (0x0003D290)
  • AnimArchtypeIrritated (0x00024593)
  • AnimArchtypeNervous (0x0003D28F)
  • AnimArchtypePlayer (0x0006B508)
  • AnimArchtypeScared (0x0005F763)
  • AnimArchtypeShocked (0x00160494)

See AlsoEdit