Jump to content

IsComplete Condition for non boss mob in dungeon


Recommended Posts

Hello, you can test number of mobs alive like:

return wManager.Wow.ObjectManager.ObjectManager.Me.Position.DistanceTo(new Vector3(1, 2, 3)) < 30 && wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(1234).Count(u => u.IsValid && u.IsAlive) <= 0;

(replace "1, 2, 3" by mob position and "1234" by the mob entry id)

Link to comment
Share on other sites

34 minutes ago, Droidz said:

Hello, you can test number of mobs alive like:


return wManager.Wow.ObjectManager.ObjectManager.Me.Position.DistanceTo(new Vector3(1, 2, 3)) < 30 && wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(1234).Count(u => u.IsValid && u.IsAlive) <= 0;

(replace "1, 2, 3" by mob position and "1234" by the mob entry id)

Thank you!! been stuck on this for awhile :D I was wondering is there a part of the website which you can access all the variables for iscomplete?

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...