11-01-2012, 06:19 AM
If you're using a scripted GUI (in difference to the Event Click system i just mentioned), then you need to create a system that reads the mouse location and determines which so-called button it is over. This tracking operation only determines what button it is over, but does nothing else. After that, make a routine that checks for when the player clicks (or in your case doubleclicks), and when that happens, go to a 'if-click' method. There, you just read what button it is tracked over and perform your scripted routine.
The demo has a Window Edits subscript by Amanda Fitch, otherwise known as Amaranth or Lambchop if you remember her in HBGames. It has some basic routines you may wish to study.
The demo has a Window Edits subscript by Amanda Fitch, otherwise known as Amaranth or Lambchop if you remember her in HBGames. It has some basic routines you may wish to study.