Adjust "GUI depth" (even though it does not exist)

Hello there!,
I am trying to implement a dialog system. The one that is currently working works like this:
1) It has an specific object ("obj_dialog") that then draws text on the top of it (using the Draw GUI event). Because of that, there can be situations like this one:
strange.png

I don't know if you can appreciate it, but the text from the ghost is drawn at the top of the other dialog! Is there a way to do the same thing without exposing to that problem? I've tried to change the Draw GUI event to a normal Draw event, but that deletes the dialog itself, showing just "nothing".

When I change to "Draw", it draws really giant letters, and it does not show the dialog box, it disappears. Mantaining the system is there a way to do that?
 
You should draw both the textbox and the text in the same event. Either the GUI or the normal draw event, totally up to you, but pick one and do both in one of them.
 
Top