Difference between revisions of "Spell Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
(No difference)

Revision as of 11:48, 3 December 2015


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