Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Boolean Functions
Old
damnvr
Guest
 
Status:
Posts: n/a
Default Boolean Functions - 05-13-2009, 10:18 PM

I'm having trouble making a Boolean function on Zombie world; the zombie walks forward towards the grave and falls in. Zombie should walk forward, A boolean function named isAboveGrave returns true if the zombie is within one-half meter of the grave. When the function returns true, make the zombie fall in.

If someone can help me start out the Boolean function that would be great; I've been having trouble all day trying to set up boolean functions, the book doesn't help.
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.