Suggestion: GUI button interactions

Started by Darth Mandarb, Thu 22/04/2004 18:23:32

Previous topic - Next topic

Darth Mandarb

The Suggestion:
Instead of a 'Mouseover image' option (for GUI buttons), it would be nice to have a 'Mouseover effect' so you could also run a script without having to click.

Something like this:


I have an 'information' graphic in my GUI which I want to change when you mouseOver individual GUI buttons.  I can't seem to find a way to make this work.  This suggestion would do the trick!

If anybody has any ideas on how to do this now I would greatly appreciate it!  I'm kind of stuck ;)

Thanks!

SSH

in your rep_ex...
if (GetGUIAt(mouse.x, mouse.y)==DARTHSGUI) {
  button = GetGUIObjectAt(mouse.x, mouse.y);
  set_info_graphic(button);
}



12

Darth Mandarb

Thanks SSH!

I was thinking it would be something in the repeatedly_execute area.  Just wasn't sure of how exactly ...

I'll give it a go.

SMF spam blocked by CleanTalk