Enables comparing achievements/statistics with another player.
After a call to this function, the
INSPECTACHIEVEMENTREADY event fires to indicate that achievement/statistic comparison functions will return valid data on the given unit.
See also Achievement functions.
unit- ID of a unit to compare against (
success- 1 if the given unit is a valid unit. (Does not indicate whether the unit exists or can be compared against.) (