WoW:API UnitIsEnemy: Difference between revisions

m
Move page script moved page API UnitIsEnemy to WoW:API UnitIsEnemy without leaving a redirect
(New page: {{wowapi}} This function will determine if the target is hostile towards you. == Parameters == === Function === :;UnitIsEnemy : UnitIsEnemy("unit","otherunit")<br>Determine whether a un...)
 
m (Move page script moved page API UnitIsEnemy to WoW:API UnitIsEnemy without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:


=== Returns ===
=== Returns ===
:;IsEnemy: Returns either nil or 1, not a boolean value.<br>If the second parameter is "target" and nothing is targeted, this function returns <tt>nil</tt>.
;IsEnemy: true or false, boolean.<br>If the second parameter is "target" and nothing is targeted, this function returns <tt>nil</tt>.


=== Example ===
=== Example ===
Anonymous user