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.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.