Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
Returns true if the two specified units are the same, false otherwise.
isSame = UnitIsUnit(unit1, unit2);
- Boolean - 1 if the two units are the same entity, nil otherwise.
if ( UnitIsUnit("targettarget", "player") ) then message("Look at me, I have aggro from " .. UnitName("target") .. "!"); end;
Displays a message if your target is targetting you.