Play - VisualEffect: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>MoopusMaximus
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function Play(ObjectReference akObject, float afTime = -1.0, ObjectReference akFacingObject = None) native
Function Play(ObjectReference akObject, float afTime = -1.0, ObjectReference akFacingObject = None) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 21: Line 21:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Play the soul-sucking effect on the werewolf until told to stop
; Play the soul-sucking effect on the werewolf until told to stop
SoulSucking.Play(Werewolf)
SoulSucking.Play(Werewolf)
</source>
</syntaxhighlight>
<br/>
<br/>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Play the soul-sucking effect on the werewolf - pointing it at the human
; Play the soul-sucking effect on the werewolf - pointing it at the human
SoulSucking.Play(Werewolf, akFacingObject = Human)
SoulSucking.Play(Werewolf, akFacingObject = Human)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu