VisualEffect Script: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
m (→‎Member Functions: Formatting Change)
m (Convert source tags to syntaxhighlight)
 
(One intermediate revision by one other user 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 20: Line 20:
== Member Functions ==
== Member Functions ==


{|class="wikitable" width =100%
:'''[[Play - VisualEffect|Play]](ObjectReference ''akObject'', Float ''afTime'', ObjectReference ''akFacingObject'')'''
!style="text-align:left;"|Function
:*Starts playing this visual effect on the specified object.
!style="text-align:left;"|Description
|-
|[[Play - VisualEffect|'''Play'''(ObjectReference ''akObject'', Float ''afTime'', ObjectReference ''akFacingObject'')]]
|Starts playing this visual effect on the specified object.
|-


|[[Stop - VisualEffect|'''Stop'''(ObjectReference ''akObject'')]]
:'''[[Stop - VisualEffect|Stop]](ObjectReference ''akObject'')'''
|Stops playing this visual effect on the specified object.
:*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