ChipWits: Robot-Programming Fun - Bring Your Brain!

ChipWits Game Community
Need Help with Rangefinder

 
Post new topic   Reply to topic    ChipWits: Robot-Programming Fun - Bring Your Brain! Forum Index -> Programming with IBOL
View previous topic :: View next topic  
Author Message
n9xy
NoobWit


Joined: 20 Nov 2007
Posts: 15

PostPosted: Wed Nov 21, 2007 6:17 pm    Post subject: Need Help with Rangefinder Reply with quote

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
View user's profile Send private message
dougsharp
Site Admin


Joined: 16 Feb 2007
Posts: 192

PostPosted: Thu Nov 22, 2007 7:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ChipWits: Robot-Programming Fun - Bring Your Brain! Forum Index -> Programming with IBOL All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2007-2008 Informe.com. Get Free Forum Hosting
Powered by phpBB © 2001, 2005 phpBB Group :: 

RedSilver 1.01 Theme was programmed by DEVPPL HTML Forum
Images were made by DEVPPL Photoshop Forum