Difference between revisions of "PlayAnimation - ObjectReference"
Jump to navigation
Jump to search
PlayAnimation - ObjectReference (edit)
Revision as of 05:40, 20 February 2012
, 05:40, 20 February 2012Refined that false statement about permanantly ruining an actor
imported>Cipscis (→Notes: Corrected terminology, made capitalisation consistent with the rest of the wiki, beautified link and copied relevant note from SendAnimationEvent) |
imported>MoopusMaximus (Refined that false statement about permanantly ruining an actor) |
||
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 | 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")''. | ||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] | ||
*[[PlayAnimationAndWait - ObjectReference]] | *[[PlayAnimationAndWait - ObjectReference]] |