PlayIdleWithTarget - Actor
Member of: Actor Script
Plays the idle passed and overrides the actor's target with the given target. If no target is passed, then the idle will use the actor's current target instead.
SyntaxEdit
bool Function PlayIdleWithTarget(Idle akIdle, ObjectReference akTarget) native
ParametersEdit
Return ValueEdit
True if the idle was successfully loaded and played, false otherwise.
ExamplesEdit
; Start Hadvar's backstab paired idle against the thief
if Hadvar.PlayIdleWithTarget(Backstab, Thief)
Debug.Trace("Hadvar just backstabbed the thief!")
else
Debug.Trace("Something went wrong")
endIf