Hey,
I m trying to get the guildranks names. It's a bit unfriendly to get a custom guild rank, since you have to firstly get the rankIndex.
Lua Code:
function Guild.GetPlayerGuildRankCustomName(guildIndex)
local guildId = GetGuildId(guildIndex)
local _,_,rankIndex = GetGuildMemberInfo(guildId, GetPlayerGuildMemberIndex(guildId))
return GetGuildRankCustomName(guildId, rankIndex )
end
But I didn't find a way to get non custom guild rank. I guess there is a sort of static id somewhere? I got rankId 255 is generally the GM and 254 for officer or 3, 2 for member and 1 for recruit.
254 or 3 for officer, makes me ask: is it static or dynamic ? Where can I found details about defaults guild rank?