| View previous topic :: View next topic |
| Author |
Message |
n9xy NoobWit
Joined: 20 Nov 2007 Posts: 15
|
Posted: Wed Nov 21, 2007 6:17 pm Post subject: Need Help with Rangefinder |
|
|
I am having trouble figuring out how to use the value in the Rangefinder to control my movement logic.
Here is what I am doing
================
IFSEE PIE
PUSHNUMBER RANGEFINDER
IFNUMBEREQUALS 1 Then PICKUP
IFNUMBEREQUALS 2 Then SKATE PICKUP
IFNUMBEREQUALS 3 Then SKATE SKATE PICKUP
==================
When this runs the Status-Stacks window shows the "Rangefinder Beaker" filled to the level I would expect. However, none of the IFNUMBEREQUALS statements in the code shown above are ever TRUE.
What am I doing wrong?
Thanks,
Michael |
|
| Back to top |
|
 |
dougsharp Site Admin

Joined: 16 Feb 2007 Posts: 192
|
Posted: Thu Nov 22, 2007 7:05 am Post subject: |
|
|
Michael,
Please email me your ChipWit at contest@chipwits.com . It's quite possible there is a bug in IFNUMBEREQUALS.
THanks,
Doug |
|
| Back to top |
|
 |
|