VisualEffect Script: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
m (Convert source tags to syntaxhighlight)
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:


== Definition ==
== Definition ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
ScriptName VisualEffect extends Form
ScriptName VisualEffect extends Form
</source>
</syntaxhighlight>


== Properties ==
== Properties ==
Line 19: Line 19:


== Member Functions ==
== Member Functions ==
*Function [[Play - VisualEffect|Play]](ObjectReference akObject, float afTime, ObjectReference akFacingObject)
 
**Starts playing this visual effect on the specified object.
:'''[[Play - VisualEffect|Play]](ObjectReference ''akObject'', Float ''afTime'', ObjectReference ''akFacingObject'')'''
*Function [[Stop - VisualEffect|Stop]](ObjectReference akObject)
:*Starts playing this visual effect on the specified object.
**Stops playing this visual effect on the specified object.
 
:'''[[Stop - VisualEffect|Stop]](ObjectReference ''akObject'')'''
:*Stops playing this visual effect on the specified object.


== Events ==
== Events ==
None
None

Latest revision as of 20:25, 5 September 2026


Extends: Form Script

Script for the manipulation of visual effects.

Definition[edit | edit source]

ScriptName VisualEffect extends Form

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

Play(ObjectReference akObject, Float afTime, ObjectReference akFacingObject)
  • Starts playing this visual effect on the specified object.
Stop(ObjectReference akObject)
  • Stops playing this visual effect on the specified object.

Events[edit | edit source]

None