Cast
Revision as of 13:27, 11 November 2011 by imported>Scornett-Bot (Script running global find and replace: Category:Console Commands for Category:Console Functions)
Syntax:
[[ActorID|ActivatorID.]Cast SpellID [TargetRefID] Source
Source refers to the casting source for the spell left - left hand right - right hand voice - voice/power
Example:
Cast FastHealing Player left
Calling object casts the specified spell at the target. The behavior of this function depends on the range of the spell and the types of the calling object and target reference:
Notes[edit | edit source]
- This function can be used to force the player to cast a spell on himself, but cannot force him to cast Touch or Target range spells at other actors or objects.
- If used when player controls are disabled it may cause the game to crash.
- If called by an actor, the actor will play his normal spellcasting animations while casting the spell. If the actor is a creature with no spellcasting animation, the function will not work. When called on anything other than an actor, the calling object does not animate.