Jump to content

If/While conditions


Mlarssa

Recommended Posts

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)) &lt; 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
Share on other sites

  • 3 weeks later...

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