WoW:API UnitIsEnemy: Difference between revisions
Jump to navigation
Jump to search
m
→Returns: Value seems to have updated to boolean. Failed with [ 1 ], failed with [ "true" ], success with [ true ]
(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 (→Returns: Value seems to have updated to boolean. Failed with [ 1 ], failed with [ "true" ], success with [ true ]) |
||
| Line 12: | Line 12: | ||
=== Returns === | === Returns === | ||
;IsEnemy: true or false, boolean.<br>If the second parameter is "target" and nothing is targeted, this function returns <tt>nil</tt>. | |||
=== Example === | === Example === | ||