Difference between revisions of "PlayAnimation - ObjectReference"

imported>MoopusMaximus
(Refined that false statement about permanantly ruining an actor)
imported>MoopusMaximus
Line 23: Line 23:


== Notes ==
== Notes ==
PlayAnimation cannot be called on actors. For actors, use [[SendAnimationEvent - Debug|SendAnimationEvent]]. This bypasses the check on [[ObjectReference_Script|ObjectReference]] that prevents sending events to actors. If you use it to send an event to actors, you will may get the actor stuck in the animation. You can un-stick them by using ''PlayIdle("IdleStop_Loose")''.
PlayAnimation cannot be called on actors. For actors, use [[SendAnimationEvent - Debug|SendAnimationEvent]]. This bypasses the check on [[ObjectReference_Script|ObjectReference]] that prevents sending events to actors. If you use it to send an event to actors, you will may get the actor stuck in the animation (such as the bleed out animation). You can un-stick them by using ''PlayIdle("IdleStop_Loose")''.


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[PlayAnimationAndWait - ObjectReference]]
*[[PlayAnimationAndWait - ObjectReference]]