RSS

Суббота, 21.12.2024, 19:54
Главная » WoW API » API Функции » Достижения »

SetAchievementComparisonUnit

[ править ]
Enables comparing achievements/statistics with another player.
[клоны]
Enables comparing achievements/statistics with another player. After a call to this function, the INSPECTACHIEVEMENTREADYevent fires to indicate that achievement/statistic comparison functions will return valid data on the given unit.

Signature:
Code
success = SetAchievementComparisonUnit(unit)

Arguments:
  • unit - ID of a unit to compare against (unitID)

Returns:
  • success - 1 if the given unit is a valid unit. (Does not indicate whether the unit exists or can be compared against.) (1nil)

Также смотрите: Достижения , Achievement functions
Ссылки: http://wowprogramming.com/docs/api/SetAchievementComparisonUnit