
-----------------------------------
MOUSECORD
Fri Jun 11, 2004 1:35 pm

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 

 
        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???

-----------------------------------
MOUSECORD
Fri Jun 11, 2004 1:53 pm


-----------------------------------
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
Fri Jun 11, 2004 5:03 pm


-----------------------------------
you can call the procedure in a loop, which will be kept been called
