Difference between revisions of "PlayAnimation - ObjectReference"

Jump to navigation Jump to search
→‎Notes: Corrected terminology, made capitalisation consistent with the rest of the wiki, beautified link and copied relevant note from SendAnimationEvent
imported>MoopusMaximus
imported>Cipscis
(→‎Notes: Corrected terminology, made capitalisation consistent with the rest of the wiki, beautified link and copied relevant note from SendAnimationEvent)
Line 23: Line 23:


== Notes ==
== Notes ==
PlayAnimation() cannot be cast on Actors. For Actors, use [[SendAnimationEvent - Debug]]
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 most likely mess up the actor permanently as the internal actor data may no longer match their animation state.


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

Navigation menu