Mod:Creation Kit/Cast - Spell

Member of: Mod:Creation Kit/Spell Script

Casts this spell from the specified object reference, optionally toward a target object reference.

Syntax
Function Cast(ObjectReference akSource, ObjectReference akTarget = None) native

Parameters

 * akSource: The ObjectReference from which to cast the spell. The source must be able to cast this spell.
 * akTarget: An optional ObjectReference at which to aim the spell. If None is passed and the spell needs a direction, it will be aimed in a default direction.
 * Default: None

Return Value
None.