Spell Script

From the CreationKit Wiki
Revision as of 13:06, 20 February 2012 by imported>Jog (→‎Member Functions)
Jump to navigation Jump to search


Extends: Form Script

Script for the manipulation of spells.

Definition

ScriptName Spell extends Form

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