GetSpellTargetObject()

Retrieves the target of the caller's last spell.

object GetSpellTargetObject();

Description

Returns the target (as an object) of OBJECT_SELF's last spell cast. Returns OBJECT_INVALID when there is no former target, OBJECT_SELF is incapable of casting spells, or an error occured.



Version

1.28

See Also

categories: Spells Functions


 author: Charles Feduke, additional contributor(s): Glenn Berden
 Send comments on this topic.