Navigation menu

WoW:API UnitCanAssist: Difference between revisions

Jump to navigation Jump to search
m
(New material)
 
Line 12: Line 12:


==Example==
==Example==
  -- Added by [[User:FormlessOne|FormlessOne]]
   if (UnitCanAssist("player", "target")) then  
   if (UnitCanAssist("player", "target")) then  
       DEFAULT_CHAT_FRAME:AddMessage("You can assist the target.")
       DEFAULT_CHAT_FRAME:AddMessage("You can assist the target.")
Anonymous user