I tried to search what is, "NpcMarkerId" and what it refers to. I am trying to figure out if a certain quest has become open and available based whether or not that player's reputation is high enough and the quest is available when interacting with the quest giver. I did not want to hijack an old thread so I made this one. Everything is working just fine, BUT it tried to pick up the second and third parts of the quests that are not yet available (because low rep) and will sit there for minutes b
I managed to figure it out.
C# Code:
// Check if Player's reputation earned with a certain faction has reached above ### value
wManager.Wow.Helpers.Lua.LuaDoString<bool>(@"
for factionIndex = 1, GetNumFactions() do
local name, description, standingId, bottomValue, topValue, earnedValue, atWarWith, canToggleAtWar,
isHeader, isCollapsed, hasRep, isWatched, isChild, factionID = GetFactionInfo(factionIndex)
if name == ""FACTION NAME HERE"" and earnedVal