Number - provided by GetFactionInfo (14th return); defaults to the currently interacting NPC if omitted
Number - can range from 6 to 8, depending on the friendship faction
for i = 1, GetNumFactions() do
local factionID = select(14, GetFactionInfo(i))
local friendID, _, _, name = GetFriendshipReputation(factionID)
local currentRank, maxRank = GetFriendshipReputationRanks(factionID)
if friendID then
-- factionID is also a friendID
print(friendID, name, currentRank, maxRank)
This page was last edited on 19 December 2020, at 21:25.
Content is available under CC BY-SA 3.0 unless otherwise noted. Game content and materials are trademarks and copyrights of their respective publisher and its licensors. All rights reserved.
This site is a part of Fandom, Inc. and is not affiliated with the game publisher.