Alice Community  

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

Thread Tools Display Modes
How do I add an event to a method or simulate what I'm attempting to do
Junior Member
Status: Offline
Posts: 1
Join Date: Sep 2011
Default How do I add an event to a method or simulate what I'm attempting to do - 09-12-2011, 12:29 PM

I have some events on the World level... these events will cause different objects (4 of them) to disappear if the selected object is clicked on... opacity is set to 0.

I also have a method that loops through another method... the effect that you see these 4 objects move back and forth 4 times.

The top method loops the inner method which moves the objects back and forth... The problem is that I want to make the objects disappear IF the user clicks on them (in other words, I want to combine the action of the objects moving back and forth with the events that cause the objects to disappear.

So far, I have not found a way to do this... ALICE won't let me copy the events into the methods...

Is there a way to do what I want? Allow the 4 objects to move back and forth and then while moving back and forth if the user clicks on one of the objects, that object will disappear?


Last edited by jimm; 09-12-2011 at 12:32 PM.
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 ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.