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