Jump to content

Random dungeon is done


Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...