Caveats
CK Wiki - Notes
Too many things can happen while you are attempting to play an idle, so make sure to gracefully handle all circumstances. Never use the structure "play idle, wait for event" - this will inevitably cause your script to get stuck forever when some other code or script overrules your idle.
Parameters
Examples
; Start Hadvar's flute animation
if Hadvar.PlayIdle(fluteIdle)
Debug.Trace("Hadvar is playing his flute!")
else
Debug.Trace("Something went wrong")
endIfAuto-Generated Example
Idle myIdle__akIdle
bool returnedValue = myActor__toCallFunctionOn.PlayIdle(myIdle__akIdle)Related Pages
- Actor
- Actor.PlayIdleWithTarget(...)
- Idle
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
