Cast

Revision as of 09:44, 18 May 2007 by imported>DragoonWraith (can't be called by the player, actors use cast animation, non-actors don't, and only actors work as targets)

Syntax:

[[ActorID|ActivatorID.]Cast SpellID [TargetRefID]

Example:

Cast ShrineAkatoshSpeedMagicka Player

Calling object casts spell onto target, spells only.

Notes

  • This function cannot be called by the player, i.e. no player.Cast.
  • If called by an actor, the actor will use his cast animation to cast the spell.
  • If called by anything else, the spell will just fly out.
  • Only actors seem to work as targets. If the target is anything but an actor, the calling reference will shoot directly down the negative y-axis, rather than in the direction of the target.