01-26-2013, 09:17 AM
haraujo
Look This Example:
Cavebot
After the bot walk 2 points, have a label, and a macro to add value on variable.
If the char stuck then the bot go to label with some value of the cont.
Look This Example:
Cavebot
Quote:Label (0 0 0:Start)Macros
Macro (0 0 0:Reset Label)
Label (0 0 0:1)
Macro (0 0 0:Label Add)
Fixed (0 0 0)
Fixed (0 0 0)
Label (0 0 0:2)
Macro (0 0 0:Label Add)
Fixed (0 0 0)
Fixed (0 0 0)
Label (0 0 0:3)
Macro (0 0 0:Label Add)
Fixed (0 0 0)
Fixed (0 0 0)
Quote:0 {Reset Label} Cont:=0Variables
0 {Label Add} VarAdd(Cont, 1)
2000 {Stucked Label} Misc.StandTime()>30 !Cont!>1 CaveBot.GoLabel(!Cont!)
Quote:Cont=0
After the bot walk 2 points, have a label, and a macro to add value on variable.
If the char stuck then the bot go to label with some value of the cont.