Wikia

WoWWiki

Watchlist Recent changes

API SpellIsTargeting

Main Menue



Checks whether a spell is about to be cast, waiting for a target.

isTargeting = SpellIsTargeting();

Parameters Edit

Arguments Edit

none

Returns Edit

isTargeting 
Boolean - true if a spell has been cast and is waiting for a target; false otherwise

Example Edit

CastSpellByName("Purify")
if (SpellIsTargeting()) then
  SpellTargetUnit("player")
end

Result Edit

Casts Purify on the current target, if possible; otherwise, casts on the casting player. No longer work as of 2.0.1

Pages on WoWWiki

94,206pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,632photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki