April 17, 20205 yr How to check if random dungeon is done? (last boss is killed). if(Lua.LuaDoString<bool>("if LFDungeonIsDone then return 1 end") ) //it is dont work return true;
April 17, 20205 yr Hi, It really depends on the dungeons. You can look https://wrobot.eu/files/file/453-dungeon-the-temple-of-atalhakkar/?tab=comments (lua code depend of game version), you can also check unit count: wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(123456).Count > 0 (if you are in dunjon and if he is small), you must be clever.
April 17, 20205 yr Author 1 hour ago, Droidz said: Hi, It really depends on the dungeons. You can look https://wrobot.eu/files/file/453-dungeon-the-temple-of-atalhakkar/?tab=comments (lua code depend of game version), you can also check unit count: wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(123456).Count > 0 (if you are in dunjon and if he is small), you must be clever. wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(123456).Count > 0 - yes for big instance dont work, tryed /run print(C_Scenario.GetCriteriaInfo()) - nothing print (WoW 3.3.5). I need check if party (LFG) killed last boss and can to leave without dungeon desertire. And still one question - What is do it function? "GetLFGInfoLocal" ?
April 17, 20205 yr https://github.com/goldpaw/WoW_UI_Source_WotLK https://github.com/goldpaw/WoW_UI_Source_WotLK/blob/7ac7bc5b6ebc57f7de70c64aaf61072bb22bc511/FrameXML/LFRFrame.lua#L669 https://wrobot.eu/forums/topic/4607-wotlk-looking-for-wow-api/?do=findComment&comment=21440
April 17, 20205 yr Author 1 minute ago, Droidz said: https://github.com/goldpaw/WoW_UI_Source_WotLK https://github.com/goldpaw/WoW_UI_Source_WotLK/blob/7ac7bc5b6ebc57f7de70c64aaf61072bb22bc511/FrameXML/LFRFrame.lua#L669 https://wrobot.eu/forums/topic/4607-wotlk-looking-for-wow-api/?do=findComment&comment=21440 okay, will search, thanks
Create an account or sign in to comment