The buttons that wouldn't die =^.^=

Non-platform specific questions.

The buttons that wouldn't die =^.^=

Postby NyahKitty » Tue Dec 20, 2005 10:38 pm

I've set up a bunch of activation events so that when one button is clicked all the lights for the other buttons remain red and the light for the clicked button turns green.

The process is something like this:

-click button
-activation event to red light so that it creates actor the green light right on top of it.
-click any other button should turn that green light to red

what I find is that the light for the button at the top of the stack stays on no matter what and if I click any other button two times in a row, then the light stays green for each of those buttons.

Here's the zip file with the ged and image files:

http://www.hodgepodgestudios.com/files/MISCELANEOUS/Dr_DeGroot.zip

The problem has to do with the six buttons on the left marked "Exercise #"


Thanks!
Samples of my art can be found at:

http://www.HodgePodgeStudios.com
User avatar
NyahKitty
 
Posts: 65
Joined: Fri Jul 29, 2005 1:28 am
Score: 0 Give a positive score

Postby Novice » Thu Dec 22, 2005 5:22 pm

I'm not at my GE computer but im guessing that the problem is that you create new buttons over the old ones instead of changing animations. So mouse down events get mixed up, because you are clicking the new button.
If you did this using vars you wouldnt have that problem.
Sorry if im wrong this is just an asumption.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Postby NyahKitty » Thu Dec 29, 2005 4:35 pm

By vars, you mean variables?
Samples of my art can be found at:

http://www.HodgePodgeStudios.com
User avatar
NyahKitty
 
Posts: 65
Joined: Fri Jul 29, 2005 1:28 am
Score: 0 Give a positive score

Postby Novice » Fri Dec 30, 2005 3:21 pm

Yes, for ex.
Code: Select all
if (ButtonState==1) ChangeAnimation...
else if (ButtonState==2) ChangeAnimation...

On mouse click change ButtonState.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest