WaitForAnimationEvent - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Scornett
m (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
 
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
bool Function WaitForAnimationEvent(string asEventName) native
bool Function WaitForAnimationEvent(string asEventName) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Wait for the done event to happen before continuing
; Wait for the done event to happen before continuing
CoolThing.WaitForAnimationEvent("done")
CoolThing.WaitForAnimationEvent("done")
</source>
</syntaxhighlight>


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[PlayAnimation - ObjectReference]]
*[[PlayAnimation - ObjectReference]]

Navigation menu