Difference between revisions of "Cast"

16 bytes added ,  11:00, 4 April 2010
m
imported>UDUN
imported>UDUN
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
*Only certain types of objects appear to serve as valid targets. Actors and activators work, but when some other object types, such as Items, are supplied for the Target parameter, the spell projectile will travel down the negative ''y''-axis rather than in the direction of the target.
*Only certain types of objects appear to serve as valid targets. Actors and activators work, but when some other object types, such as Items, are supplied for the Target parameter, the spell projectile will travel down the negative ''y''-axis rather than in the direction of the target.
*This function is unreliable when used to force an actor to cast a Target-range spell  on a target which is not within Touch-range. Often the actor will attempt to walk into touch-range of the target and then cast the spell, but more frequently he will simply ignore the function.
*This function is unreliable when used to force an actor to cast a Target-range spell  on a target which is not within Touch-range. Often the actor will attempt to walk into touch-range of the target and then cast the spell, but more frequently he will simply ignore the function.
*Cast must be called from a reference. Items in inventories aren't references. Therefore cast won't run if called from a scripted object in an inventory. See talk page for details.
*Cast must be called from a reference. Items in inventories aren't references. Therefore cast won't run if called from a scripted object in an inventory. See talk page for details and workarounds.


[[Category: Functions]]
[[Category: Functions]]
Anonymous user