Discussion Forums at Tactical Neuronics


Re: Problem in Code From:
vusak

start:
move forward
if VALUE #x_pos = #enemy_x then goto enemyx
if VALUE #y_pos = #enemy_y then goto enemyy
if bump barrier then turn left
goto start

that might be the problem, put the word "value" after every "if" when checking a system(#) or assigned(~v) variable.

i suggest you take a look at some example bugs in the library and check out Reiniers and Robs tournament sites for links to tutes and other helpful info :)

This message is a Reply to: Problem in Code from aRTie11

Replies to this message:
-None-


© 2001, John A. Reder.