View Single Post
  #9   Spotlight this post!  
Unread 11-02-2003, 22:16
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
Lightbulb here is the easiest way in 2.0

here is the easiest way to do this in 2.0:

Code:
 If p1_y >= 137 or p1_y <= 117 then skipleftneu:
  left_drive = 127
skipleftneu:
 If p2_y >= 137 or p2_y <= 117 then skiprightneu:
  right_drive = 127
skiprightneu:
it works very well because you dont have to worry about order and goto statements, because those just get confusing. I'm using this and it works just great.

-Kesich
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year