Discussion Forums at Tactical Neuronics


Problem in Code From:
aRTie11

hey all,

below is the main line in my code and it just checks to insure the enemy is within distance
i have line labels named enemyx and enemyy and it wont go to them

in debug mode i get this as a line description
if 6 = 6 then goto enemyx
but it doesn't, what goes on here!

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

any help would be appreciated

aRTie11

Replies to this message:


© 2001, John A. Reder.