PauseMainCharacterAnimations

Definition

PauseMainCharacterAnimations()

Description

This function pauses all animations of the main character.

Example

function OnTriggerEnter(otherActorName)
    --nil means main character controller
    if otherActorName == nil then
          PauseMainCharacterAnimations()
    end
end

function OnTriggerStay(otherActorName)

end

function OnTriggerExit(otherActorName)

end
Assume that the above script is attached to a trigger named trigger1. Whenever the main character enters “trigger1”, all animations of the main character are paused.
adminPauseMainCharacterAnimations