bubu
12-15-2016, 19:39
so i made this script with random waypoints. The bot picks one of the three waypoints and goes there.
Question: Is there a easyier way of doing this?
setMeleeKill wild warrior
setMeleeKill snake
setMeleeKill wolf
setMeleeKill bear
setMeleeKill valkyrie
setLoot D7 0B
gotoscriptline $nlineoflabel:node{$randomnumber:1>3$}$
:node1
move 32283,32123,7
gotoscriptline $nlineoflabel:nextarray$
:node2
move 32281,32124,7
gotoscriptline $nlineoflabel:nextarray$
:node3
move 32283,32127,7
gotoscriptline $nlineoflabel:nextarray$
:nextarray
gotoscriptline $nlineoflabel:wtf{$randomnumber:1>3$}$
:wtf1
move 32287,32134,7
gotoscriptline $nlineoflabel:nextarray1$
:wtf2
move 32283,32135,7
gotoscriptline $nlineoflabel:nextarray1$
:wtf3
move 32286,32138,7
gotoscriptline $nlineoflabel:nextarray1$
:nextarray1
gotoscriptline $nlineoflabel:ftw{$randomnumber:1>3$}$
:ftw1
move 32258,32149,7
gotoscriptline 0
:ftw2
move 32259,32150,7
gotoscriptline 0
:ftw3
move 32257,32149,7
gotoscriptline 0
You should be north of thais (wild warrior, valkyrie) and the script should work fine
Question: Is there a easyier way of doing this?
setMeleeKill wild warrior
setMeleeKill snake
setMeleeKill wolf
setMeleeKill bear
setMeleeKill valkyrie
setLoot D7 0B
gotoscriptline $nlineoflabel:node{$randomnumber:1>3$}$
:node1
move 32283,32123,7
gotoscriptline $nlineoflabel:nextarray$
:node2
move 32281,32124,7
gotoscriptline $nlineoflabel:nextarray$
:node3
move 32283,32127,7
gotoscriptline $nlineoflabel:nextarray$
:nextarray
gotoscriptline $nlineoflabel:wtf{$randomnumber:1>3$}$
:wtf1
move 32287,32134,7
gotoscriptline $nlineoflabel:nextarray1$
:wtf2
move 32283,32135,7
gotoscriptline $nlineoflabel:nextarray1$
:wtf3
move 32286,32138,7
gotoscriptline $nlineoflabel:nextarray1$
:nextarray1
gotoscriptline $nlineoflabel:ftw{$randomnumber:1>3$}$
:ftw1
move 32258,32149,7
gotoscriptline 0
:ftw2
move 32259,32150,7
gotoscriptline 0
:ftw3
move 32257,32149,7
gotoscriptline 0
You should be north of thais (wild warrior, valkyrie) and the script should work fine