Spell Script

From the Fallout4 CreationKit Wiki
Revision as of 11:48, 3 December 2015 by imported>Plplecuyer (→‎Definition)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Extends: Form Script

Script for the manipulation of spells.

Definition

ScriptName Spell extends Form Native Hidden

Properties

None

Global Functions

None

Member Functions

  • 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

None