View Single Post
  #3   Spotlight this post!  
Unread 26-01-2003, 09:04
PyroPhin's Avatar
PyroPhin PyroPhin is offline
Registered User
None #0263
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Frozen Wasteland, NY
Posts: 68
PyroPhin is on a distinguished road
yes, you can do that very simply, using 2 for, next loops:

sw1:
if p1_sw_top = 1 then sw2
goto endswich

sw2:
if p2_sw_top = 1 then dostuff:
goto endswich

Dostuff:
p1_y = 200

endswich:

the program will process the first loop, then only if that requirement is met, go to the second loop. if the requirement isnt met at either button, or at the second, not the first, it bypasses the dostuff loop ^.^

~Pyro
__________________
Squee!
-=-=-=-==-=-=-=-==-=-=-==-
Team 263, Aftershock:
Alumni, guy who comes back and fixes Krass's mistakes