79135 4 Posted April 17, 2020 Share Posted April 17, 2020 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; Link to comment https://wrobot.eu/forums/topic/12059-random-dungeon-is-done/ Share on other sites More sharing options...
Droidz 2738 Posted April 17, 2020 Share Posted April 17, 2020 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. Link to comment https://wrobot.eu/forums/topic/12059-random-dungeon-is-done/#findComment-57722 Share on other sites More sharing options...
79135 4 Posted April 17, 2020 Author Share Posted April 17, 2020 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" ? Link to comment https://wrobot.eu/forums/topic/12059-random-dungeon-is-done/#findComment-57725 Share on other sites More sharing options...
Droidz 2738 Posted April 17, 2020 Share Posted April 17, 2020 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 Link to comment https://wrobot.eu/forums/topic/12059-random-dungeon-is-done/#findComment-57726 Share on other sites More sharing options...
Droidz 2738 Posted April 17, 2020 Share Posted April 17, 2020 I don't really know Wotlk's API Link to comment https://wrobot.eu/forums/topic/12059-random-dungeon-is-done/#findComment-57727 Share on other sites More sharing options...
79135 4 Posted April 17, 2020 Author Share Posted April 17, 2020 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 Link to comment https://wrobot.eu/forums/topic/12059-random-dungeon-is-done/#findComment-57729 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now