Ivkan1997 1 Posted August 6, 2018 Share Posted August 6, 2018 Hello I would like to know if there is any code like this one for SKIP STEP in Quest profile if there is more than 1000 yard from some npc position: " ObjectManager.Me.Position.DistanceTo2D(new Vector3(10032.4, -7000.29, 61.3098)) < 1000 " Im asking for code to: IF I HAVE SPECIFIC ITEM IN BAG TO SKIP STEP. (reason: When Im questing in some area, and got disconnect from server, when my character log in again, Quest order editor will force my character to again go learn spells, or buy food, or go repair, because I have added it all to quest order editor. * * *So when I got disconnect, quest order will NOT force me to go again in town for everything because my bag will have already food in it, and bot will recognize it and SKIP STEP * * * Any suggestion how can I set it up, if there is no code for that option. Link to comment https://wrobot.eu/forums/topic/9902-skip-step-code-for-quest-profile/ Share on other sites More sharing options...
Droidz 2738 Posted August 6, 2018 Share Posted August 6, 2018 Hello, you code seem good, use step type "If" before tu pulse quest, or put this code in "CanCondition" Link to comment https://wrobot.eu/forums/topic/9902-skip-step-code-for-quest-profile/#findComment-46437 Share on other sites More sharing options...
Ivkan1997 1 Posted August 7, 2018 Author Share Posted August 7, 2018 Drooidz, I only put example of code and I need similar one. I need code for example: " Have item 'Cold Milk' in bag > 10 " So it will SKIP step if I have more than 10 'Cold Milk' in my bags. So Im searching is there any code what could help me, but NOT this one: " ObjectManager.Me.Position.DistanceTo2D(new Vector3(10032.4, -7000.29, 61.3098)) < 1000 " Link to comment https://wrobot.eu/forums/topic/9902-skip-step-code-for-quest-profile/#findComment-46447 Share on other sites More sharing options...
FNV316 65 Posted August 7, 2018 Share Posted August 7, 2018 ItemsManager.GetItemCountById(12345) > 10 Link to comment https://wrobot.eu/forums/topic/9902-skip-step-code-for-quest-profile/#findComment-46448 Share on other sites More sharing options...
Ivkan1997 1 Posted August 7, 2018 Author Share Posted August 7, 2018 1 hour ago, FNV316 said: ItemsManager.GetItemCountById(12345) > 10 Thats exactly what I was looking for!! ?? Thank you soo much for answering guys ? Link to comment https://wrobot.eu/forums/topic/9902-skip-step-code-for-quest-profile/#findComment-46451 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