Alice Community  

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

Thread Tools Display Modes
Variable trouble
Junior Member
Status: Offline
Posts: 2
Join Date: Aug 2010
Default Variable trouble - 10-02-2011, 12:35 PM

Hi guys

got some trouble using variables and variable lists

I want to verify if objects from list A are close to objects from list B and import them into list C if they are. I manage to, but if an object from list A is close to 2 objects from list B, it gets imported in list C twice. How to prevent this? tried using If (not( list C contains item_from_list A)) then ( normal actions to add it to list C). Didnt work.


how do i verify if "object under mouse cursor" is part of a variables list. I tried just putting If "object under mouse cursor" == item_from_listA but it didnt work and gave me an error when playing it.

ive been on this forum for about a year, but didnt use it at all, and didnt use Alice more than a few times either, so im quite a noob. please help me! : / thx!
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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.