Jump to content

Recommended Posts

There are several ways.


I think the most easy way would be to make a repeatable quest in an If statement checking for the shells and bags, like so:

If

wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1 || wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1

Pulse a quest with as complete
return (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1 || wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) >= 1);

* remember to set is as "is not require in questlog" and "is a repeatable quest"

And run this code 
wManager.Wow.Helpers.ItemsManager.UseItem(xxxxx) || wManager.Wow.Helpers.ItemsManager.UseItem(xxxxx)

to open them

Endif wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) < 1 || wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxx) < 1

and then make a go to step every couple of steps if it have found more

 

Or make a plugin that check for the items, and use it when its found :)

Edited by Arcangelo

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