ENIGMA DIALOG functions doesn't work in the LINUX version like in the WINDOWS version. So I had to circumvent otherwise to produce such action.
In the example provided, we have a background sprite and two button sprites for the MOUSE ENTER and MOUSE LEAVE events. I've also used a script to create some highlighted text on the background sprite.
An object is created as our Button object to control events such as when the MOUSE ENTER, LEAVE and PRESSED.
Another object draws our background sprite, calls up our script and creates our our BUTTON object at the relevant position we want it to appear.
I've also created a CONTROLLER object that puts it all together.
Check it out and tell me what you think.
The program file can be downloaded from here
https://www.dropbox.com/s/1qs5pe573pap9dp/dialog_test.zip?dl=0