Alice Community  

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

Reply
 
Thread Tools Display Modes
Make a function that...
Old
eduaiz
Guest
 
Status:
Posts: n/a
Default Make a function that... - 03-22-2011, 01:20 AM

Hello, i need to make a function in which if the distance between a troll and a dragon is 5 meters, the dragon turns back and moves away. I tried lots of things but i can't do anything! the professor thinks we know how to use alice perfectly but we don't! >_< help D:
   
Reply With Quote
Old
nickster654
Senior Member
 
Status: Offline
Posts: 180
Join Date: Feb 2011
Location: nickster12345678@gmail.com
Thumbs up 03-27-2011, 09:58 AM

obviously instead of tortoise put troll : P, most of the functions can be found in the world fuctions

btw if you cant read it it says:
if both dragon is distance the the right of troll as seen by= camera > 5 and troll distance to the left of dragon as seen by camera > 5
Attached Images
File Type: jpg Untitled.jpg (11.8 KB, 20 views)
   
Reply With Quote
Reply

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.