WoW:API UnitCanAssist: Difference between revisions

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