WoW:StandingId: Difference between revisions

9 bytes removed ,  15 August 2023
m
Move page script moved page StandingId to WoW:StandingId without leaving a redirect
m (Move page script moved page StandingId to WoW:StandingId without leaving a redirect)
 
(4 intermediate revisions by 4 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 20: Line 22:
; <tt>8</tt> - Exalted
; <tt>8</tt> - Exalted


These values are defined globaly by the FACTION_STANDING_LABEL(x) variables. Probably locale specific.<br>
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 26: 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".
Line 32: Line 34:
== 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.
----
{{WoW API}}
Anonymous user