[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
PlayIdle
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(idlePlayed:bool) reference.PlayIdle idleAnim:ref forceIdle:bool
Attempts to make the calling actor play the specified idle animation. The animation must be one defined in the editor's Gameplay > Idle Animations window. Pass 1 for the forceIdle parameter to force the actor to play the idle regardless of any other animations currently playing.
Notes
- Directly using an idleAnim EditorID gives a compiler error (when not using the compiler override). You must, first, load the idleAnim form in a ref variable and use the ref in the function.