WoW:StandingId: Difference between revisions
Jump to navigation
Jump to search
({{wowapitype}}) |
mNo edit summary |
||
Line 22: | Line 22: | ||
; <tt>8</tt> - Exalted | ; <tt>8</tt> - Exalted | ||
These values are defined globaly by the FACTION_STANDING_LABEL(x) variables | 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. | It's better to use them instead of relying on the hardcoded values above. | ||
Line 28: | Line 28: | ||
== Example == | == Example == | ||
/script x=4; temp=getglobal("FACTION_STANDING_LABEL".x); message(temp); | /script x=4; temp=getglobal("FACTION_STANDING_LABEL"..x); message(temp); | ||
Gives the message "Neutral". | Gives the message "Neutral". |
Revision as of 11:37, 4 December 2006
These numeric values are used to indicate how a player is perceived by a specific faction.
Values
- 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
/script x=4; temp=getglobal("FACTION_STANDING_LABEL"..x); message(temp);
Gives the message "Neutral".
Notes
The API page from which this was moved credits Saien with providing the first documentation on these numbers.