Posted: Fri Jun 11, 2004 1:35 pm Post subject: Restarting a Procedure...
Okay i have 3 missile procedure for my missile command i'm using whatdotcolor to reset the missile procedure when it hits the anti missile (missile1, missile2, missile3) procedures... i put
code:
if whatdotcolor (mx2, my2) not= 7 then
exit
end if
this is in a loop that calls the missiles mouse all procedures, but the exit ends the loop... how do i make it so it just ends the one procedure and calls ita gain???
Sponsor Sponsor
MOUSECORD
Posted: Fri Jun 11, 2004 1:53 pm Post subject: (No subject)
what about the return function if the color isn't this then return (end the procedure and start over that would work wouldn't it...?)
aside
Posted: Fri Jun 11, 2004 5:03 pm Post subject: (No subject)
you can call the procedure in a loop, which will be kept been called