Difference between revisions of "Spell Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Qazaaq
(crosslinked)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]
<BR/>
'''Editor:''' [[Spell]]


Script for the manipulation of spells.
Script for the manipulation of spells.
Line 28: Line 26:
== Events ==
== Events ==
None
None
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]

Latest revision as of 05:37, 22 October 2017

Extends: Form Script
Editor: Spell

Script for the manipulation of spells.

Definition[edit | edit source]

ScriptName Spell extends Form Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

  • Function Cast(ObjectReference akSource, ObjectReference akTarget)
    • Casts this spell from the source object reference, optionally toward a target object reference.
  • bool Function IsHostile()
    • Returns whether this spell is considered hostile or not.
  • Function RemoteCast(ObjectReference akSource, Actor akBlameActor, ObjectReference akTarget)
    • Casts this spell from the source object reference, with akBlameActor getting blame for any crime

Events[edit | edit source]

None