Difference between revisions of "ActiveMagicEffect Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
m
imported>Qazaaq
(category, see also edited, description changed)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[ScriptObject Script|ScriptObject]]
'''Extends:''' [[ScriptObject Script|ScriptObject]]
 
<BR/>
'''Editor:''' [[Magic Effect]]
'''Editor:''' [[Magic Effect]]


Script for the manipulation of active magic effects ([[MagicEffect Script|MagicEffect]]s currently attached to an [[Actor Script|Actor]])
Script for the manipulation of active magic effects. An active magic effect is a [[Magic Effect]] which is currently attached to an [[Actor]].


== Definition ==
== Definition ==
Line 35: Line 32:
== Events ==
== Events ==
*Event [[OnEffectStart - ActiveMagicEffect|OnEffectStart]](Actor akTarget, Actor akCaster)
*Event [[OnEffectStart - ActiveMagicEffect|OnEffectStart]](Actor akTarget, Actor akCaster)
**Event received when this effect starts
**Event received when this effect starts.
*Event [[OnEffectFinish - ActiveMagicEffect|OnEffectFinish]](Actor akTarget, Actor akCaster)
*Event [[OnEffectFinish - ActiveMagicEffect|OnEffectFinish]](Actor akTarget, Actor akCaster)
**Event received when this effect has finished
**Event received when this effect has finished.


== Notes ==
== Notes ==
ActiveMagicEffects will also receive events from the [[Actor Script#Events|Actor]] they are attached to.
*ActiveMagicEffects will also receive events from the [[Actor Script#Events|Actor]] they are attached to.
 
== See Also ==
*[[Actor]]
*[[Magic Effect]]
*[[:Category:Actor|Actor Category]]
*[[:Category:Magic|Magic Category]]
 
 
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Actor]]
[[Category:Magic]]

Latest revision as of 04:44, 22 October 2017

Extends: ScriptObject
Editor: Magic Effect

Script for the manipulation of active magic effects. An active magic effect is a Magic Effect which is currently attached to an Actor.

Definition[edit | edit source]

ScriptName ActiveMagicEffect extends ScriptObject Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

Events[edit | edit source]

  • Event OnEffectStart(Actor akTarget, Actor akCaster)
    • Event received when this effect starts.
  • Event OnEffectFinish(Actor akTarget, Actor akCaster)
    • Event received when this effect has finished.

Notes[edit | edit source]

  • ActiveMagicEffects will also receive events from the Actor they are attached to.

See Also[edit | edit source]