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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...