Difference between revisions of "OnAnimationEvent - ScriptObject"
m
→Examples: The registered animation was inconsistent with asEventName in the OnAnimationEvent example
imported>Plplecuyer m (moved OnAnimationEvent - Form to OnAnimationEvent - ScriptObject) |
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, " | RegisterForAnimationEvent(JoeBob, "Reset") ; Before we can use OnAnimationEvent we must register. | ||
EndFunction | EndFunction | ||