ForcePlayIdle

From GECK
Jump to: navigation, search


A function added by the kNVSE Plugin.

Description

Plays an idle animation on an actor immediately. This function works consistently in all script types (and not just effect scripts) and in the in-game console, unlike PlayIdle and PlayIdleEx.

An optional player point of view argument can be passed where 1 represents 3rd person and 2 represents 1st person.

Syntax

[help]
reference.ForcePlayIdle idleAnim:ref playerPOV (optional):1/2

Example

actorRef.ForcePlayIdle MTHitHeadA

See Also