UseMagic (Procedure)
Revision as of 02:47, 15 February 2012 by imported>Catwheezle (Added "see also" section.)
Behavior
Description:
Actor walks to location and casts spell at target.
The procedure completes:
When spell is cast, and num to CastMin/Max is reached.
Parameters
- Location (Location): Actor will walk to this location before casting spell.
- Spell (TargetSelector): Spell to cast.
- HoldWhenBlocked (Bool): If true, and an actor other than the target is in the way, do not cast the spell.
- CastTimeMin (Float): The minimum amount of time the actor will play the casting animation.
- CastTimeMax (Float): The minimum amount of time the actor will play the casting animation.
- CoolDownTimeMin (Float): The minimum time between casts.
- CoolDownTimeMax (Float): The maximum time between casts.
- DualCast (Bool): If true, will dual cast the spell.
Notes
None.