Can you display a character OVER a gui?

Started by LilBlueSmurf, Tue 12/07/2005 05:02:17

Previous topic - Next topic

LilBlueSmurf

What I want to do is have a gui button animate when I click it.  I know I can do:
loop
set button=image
wait(x)

The problem is that I want to be able to have multiple buttons animate at once, or at least be able to "que" the gui mouse clicks, so a person can click on multiple buttons and get the desired result instead of having to wait until each loop ends to click the next.

The only way I could come up with is if a character can be displayed over a gui, because I could probably figure out a way to just make it's idle animation the desired animation effect, move it into the room and over the button (I know I'd have to have a new char for each button to have multiple going) then just move the char back to a "holding room" until I need the animation again.

If someone can think up a better idea of how to do this (I am very new) or I am not clear in my explination, please feel free to also post alternate ideas or questions.  Or if there is some way to cause a wait without pausing all scripts that would obviously work too.

Gilbert

No, GUIs are always drawn on top of characters.

You can however use AnimateButton() (V2.6 through V2.62) or btnBtton1.Animate() (V2.7+) for that, look for these functions in the manual.

LilBlueSmurf

Ahh, that works great.  Thanks much.

SMF spam blocked by CleanTalk