Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Individual item collision from a list?
Old
SpecOpsSammich
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jan 2012
Unhappy Individual item collision from a list? - 01-16-2012, 05:12 PM

I'm making a lawn mowing game that has the player run over 30 ferns to clear a field in 3 minutes, and im having trouble getting the lawnmower interact with the ferns from a list. I have:
For all ferns in list, every ferns in list
If lawnmower distance to items from fernList < 2
then increment world scoreSet by 1
and fern turns invisible
Else nothing
I believe the error is the If part, trying to get the lawnmower to interact with all items from the list, then trying to get the individual item in the list to disappear. Is there an easier way to accomplish this? please help.

If it helps i attatched the world
Attached Files
File Type: a2w FinalProjectthatwontwork.a2w (5.56 MB, 1 views)
   
Reply With Quote
 

Tags
collision, list

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.