Bots and Simulations > Bot Tavern
How do you make a bot stop moving?
Panda:
do you want it to start moving again afterwards or just stop altogether
Testlund:
I just want it to move away a bit whenever it gets shot.
Panda:
Whenever you want it to stop, try
--- Code: --- *.velup - .up store
*.veldx - .dx store
--- End code ---
Testlund:
I'm trying all sorts of combinations but nothing works. Sorry, but I don't see any logic at all in bot programming. Maybe you can tell me how I put it together?
Peter:
I think this works
//resetter put this before the other gene!
cond
*.fixed 0 !=
start
0 .fixpos store
stop
cond
(when bot should stop)
start
.fixpos inc
stop
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version