Difference between revisions of "PlayAnimation - ObjectReference"

Jump to navigation Jump to search
m
no edit summary
imported>Threedee
m (→‎Notes: grammar)
imported>Chesko
m
 
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 may get the actor stuck in the animation (such as the bleed out 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 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]]
Anonymous user

Navigation menu