Difference between revisions of "UseMagic (Procedure)"
Jump to navigation
Jump to search
imported>Catwheezle (Added "see also" section items.) |
imported>Fg109 (Hope I'm editing the right page this time...) |
||
Line 37: | Line 37: | ||
|Notes= | |Notes= | ||
*If a specific spell is assigned by Object ID, an actor will cast the spell even if it is not in his/her spell list. | |||
*If a range of spell is assigned (eg Spells: Range Self), an actor will only cast a spell if such spells are in his/her spell list. | |||
*Unlike the [[Cast_-_Spell|Cast]] function, an actor will only cast the spell if he/she has enough magicka. | |||
|SeeAlso= | |SeeAlso= |
Revision as of 23:30, 28 March 2012
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
- If a specific spell is assigned by Object ID, an actor will cast the spell even if it is not in his/her spell list.
- If a range of spell is assigned (eg Spells: Range Self), an actor will only cast a spell if such spells are in his/her spell list.
- Unlike the Cast function, an actor will only cast the spell if he/she has enough magicka.
See Also