ResumeMainCharacterAnimations

Definition

ResumeMainCharacterAnimations()

Description

This function resumes 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)
    --nil means main character controller
    if otherActorName == nil then
          ResumeMainCharacterAnimations()
    end
end
Assume that the above script is attached to a trigger named “trigger1”. When the main character enters “trigger1”, all animations of the main character are paused. When the main character exits “trigger1”, all animations of the main character are resumed.
adminResumeMainCharacterAnimations