API UnitReaction

Determine the reaction of the specified unit to the other specified unit. reaction = UnitReaction("unit", "otherUnit");

Arguments

 * unit : String - The UnitId of the unit whose reaction is to be determined.
 * otherUnit : String - The UnitId of the unit towards whom the reaction is to be measured.

Returns

 * reaction : Number - the level of the reaction of unit towards otherUnit - this is a number between 1 and 8.
 * Hated
 * Hostile
 * Unfriendly
 * Neutral
 * Friendly
 * Honored
 * Revered
 * Exalted
 * Values other than 2, 4 or 5 are only returned when the first unit is an NPC in a reputation faction and the second is you or your pet.