View Single Post
How do I add an event to a method or simulate what I'm attempting to do
Old
jimm
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?

Thanks!
Jim

Last edited by jimm; 09-12-2011 at 12:32 PM.
   
Reply With Quote