February 26, 20179 yr Trying to delete some quest from logs with the code: local questId = xxxxx; for i=1,GetNumQuestLogEntries() do local _, _, _, _, _, _, _, id = GetQuestLogTitle(i); if id == questId then SelectQuestLogEntry(i); SetAbandonQuest(); AbandonQuest(); end end But it dosen't seems to work in the vanilla version :/ any ideas ?
March 14, 20179 yr Hello, try c# code like var logId = Quest.GetLogIdByQuestId(1234); if (logId > 0) { Lua.LuaDoString("SelectQuestLogEntry(" + logId + "); SetAbandonQuest(); AbandonQuest(); "); } (replace 1234 by your quest id)
February 20, 20197 yr On 3/14/2017 at 2:56 PM, Droidz said: Hello, try c# code like var logId = Quest.GetLogIdByQuestId(1234); if (logId > 0) { Lua.LuaDoString("SelectQuestLogEntry(" + logId + "); SetAbandonQuest(); AbandonQuest(); "); } (replace 1234 by your quest id) Currently getting an ' error CS0117: 'wManager.Wow.Helpers.Quest' does not contain a definition for 'GetLogIdByQuestId' '
February 20, 20197 yr You're posting in the vanilla section, other binaries for TBC+ don't have that method.
February 20, 20197 yr That explains alot, Thanks Matenia! 1 hour ago, Matenia said: You're posting in the vanilla section, other binaries for TBC+ don't have that method.
Create an account or sign in to comment