UnitIsFriend

From Warcraft Wiki
Jump to navigation Jump to search

Returns true if the specified units are friendly to each other.

isFriend = UnitIsFriend(unit1, unit2)

Arguments

unit1
string : UnitId
unit2
string : UnitId - The unit to compare with the first unit.

Returns

isFriend
boolean