Mlarssa 2 Posted December 16, 2016 Share Posted December 16, 2016 Have some problem to complete a quest that I first need an item then use it on an object. I want to end part one with the "Is complete condition". What code should I use? Would really appreciate some assistance here. Quote return ItemsManager.XXXXXXXX Link to comment https://wrobot.eu/forums/topic/4618-is-complete-condition-get-item/ Share on other sites More sharing options...
Mlarssa 2 Posted December 17, 2016 Author Share Posted December 17, 2016 bump Link to comment https://wrobot.eu/forums/topic/4618-is-complete-condition-get-item/#findComment-21509 Share on other sites More sharing options...
Droidz 2742 Posted December 17, 2016 Share Posted December 17, 2016 Hello, If you want complete quest when you don't have item in bag (1234 is item id): return wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1234) <= 0; Or if you want complete quest when you have item in bag (1234 is item id): return wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1234) >= 3; (replace 3 by minimun item count) Mlarssa 1 Link to comment https://wrobot.eu/forums/topic/4618-is-complete-condition-get-item/#findComment-21511 Share on other sites More sharing options...
Mlarssa 2 Posted December 17, 2016 Author Share Posted December 17, 2016 Thank you Droidz you are the man!!!! Link to comment https://wrobot.eu/forums/topic/4618-is-complete-condition-get-item/#findComment-21517 Share on other sites More sharing options...
pmppmp 7 Posted July 19, 2017 Share Posted July 19, 2017 Hellou please example fór Mobs? Link to comment https://wrobot.eu/forums/topic/4618-is-complete-condition-get-item/#findComment-29586 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