Mlarssa 2 Posted December 14, 2016 Share Posted December 14, 2016 If I wan't to have 2 if/while conditions is it possible to do it like below or how should I act? Alos what what end conditions do I need to have? Quote <QuestsSorted Action="IfHasQuest" NameClass="8472" /> <QuestsSorted Action="While" NameClass="ObjectManager.Me.Position.DistanceTo2D(new Vector3(9505.31f, -6765.01f, 16.51258f)) < 100" /> <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(9505.31f, -6765.01f, 16.51258f), 44244)" /> <QuestsSorted Action="EndIf" NameClass="8472" /> Link to comment https://wrobot.eu/forums/topic/4611-ifwhile-conditions/ Share on other sites More sharing options...
Droidz 2738 Posted January 2, 2017 Share Posted January 2, 2017 Hello, add step type "EndWhile". Link to comment https://wrobot.eu/forums/topic/4611-ifwhile-conditions/#findComment-21717 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