WoW:StandingId: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (New page)
 
m (Move page script moved page StandingId to StandingId without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{wowapitype}}
These numeric values are used to indicate how a player is perceived by a specific faction.
These numeric values are used to indicate how a player is perceived by a specific faction.


Line 19: Line 21:


; <tt>8</tt> - Exalted
; <tt>8</tt> - Exalted
These values are defined globaly by the FACTION_STANDING_LABEL(x) variables, locale specific.<br />
It's better to use them instead of relying on the hardcoded values above.
== Example ==
/script x=4; temp=getglobal("FACTION_STANDING_LABEL"..x); message(temp);
Gives the message "Neutral".


== Notes ==
== Notes ==
The API page from which this was moved credits Saien with providing the first documentation on these numbers.
The API page from which this was moved credits Saien with providing the first documentation on these numbers.
{{Template:WoW API}}
[[Category:API Types|AuctionTypeId]]

Latest revision as of 04:48, 15 August 2023

API types

These numeric values are used to indicate how a player is perceived by a specific faction.

Values[edit]

0 - Unknown
1 - Hated
2 - Hostile
3 - Unfriendly
4 - Neutral
5 - Friendly
6 - Honored
7 - Revered
8 - Exalted

These values are defined globaly by the FACTION_STANDING_LABEL(x) variables, locale specific.
It's better to use them instead of relying on the hardcoded values above.


Example[edit]

/script x=4; temp=getglobal("FACTION_STANDING_LABEL"..x); message(temp);

Gives the message "Neutral".

Notes[edit]

The API page from which this was moved credits Saien with providing the first documentation on these numbers.