Quantcast
WoWInterface - View Single Post - Mananing standing with non-standard factions
View Single Post
09-02-21, 02:18 AM   #9
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,015
Originally Posted by Zax View Post
I currently use GetFactionInfo() to retreive factions standing but results are very strange with non-standard factions.

Can you elaborate? What in particular is strange about the results?

This looks fine to me.
Lua Code:
  1. for i = 1, GetNumFactions() do
  2.     print(GetFactionInfo(i))
  3. end
Lua Code:
  1. "The Tillers", "The Tillers are peaceful and productive pandaren, working with the land to feed the massive appetites of their people.", 8, 42000, 42000, 42000, false, false, true, false, true, false, true, 1272, false
  2. "Chee Chee", "If you've ever had a question about sheep, Chee Chee will know the answer.", 1, 0, 8400, 2200, false, false, false, false, false, false, true, 1277, false

Last edited by Ketho : 09-02-21 at 02:21 AM.
  Reply With Quote