Alice Community  

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

Reply
 
Thread Tools Display Modes
Using Proximities
Old
Miss Roberts
Guest
 
Status:
Posts: n/a
Smile Using Proximities - 06-07-2011, 06:09 PM

Hi, I am making an amusement park scene and I want various objects to bubble speak when my directional camera moves within a threshhold of them. For example, I want the hotdog cart to say "get your hotdogs" when within 2 meters of the cart and similar for other food and beverages outlets within the park.
For some reason I cannot get this to work. I am using the If/Else statements. I have attached the game for you to see what I have done. Can you tell what is wrong with the hotdog statement? Thanks in advance :-)
Attached Files
File Type: a2w Game - Find the hidden treasure.a2w (18.30 MB, 6 views)
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 06-07-2011, 08:44 PM

you might have to make a greater distance since it uses the distance from the center of the object, so use 5 meters, or so


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Reply

Tags
distance, proximity, speaking

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