Difference between revisions of "OnAnimationEvent - ScriptObject"

m
→‎Examples: The registered animation was inconsistent with asEventName in the OnAnimationEvent example
imported>Plplecuyer
 
imported>Docclox
m (→‎Examples: The registered animation was inconsistent with asEventName in the OnAnimationEvent example)
Line 20: Line 20:
<source lang="papyrus">
<source lang="papyrus">
Function SomeFunction()
Function SomeFunction()
   RegisterForAnimationEvent(JoeBob, "IdleFurnitureExit") ; Before we can use OnAnimationEvent we must register.
   RegisterForAnimationEvent(JoeBob, "Reset") ; Before we can use OnAnimationEvent we must register.
EndFunction
EndFunction


Anonymous user