Game Development Community

GUI Trigger

by Sventhors · in Game Design and Creative Issues · 04/04/2006 (5:21 pm) · 4 replies

Is there any tutorials or forumns about how to trigger a GUI when run over it. Thanks.

#1
04/17/2006 (6:34 pm)
Function sometrigger::onEnterTrigger(%this, %trigger, %obj){
%client = %obj.client;
commandToClient(%client, 'addGuiThing');
}

function ClientCmdAddGuiThing(){
canvas.pushDlg("someGuiName");
}

something along those lines didn't have time to check for typos
#2
07/01/2009 (4:15 am)
Hi
I got it.

Thank you.
#3
07/01/2009 (7:30 am)
Canvas.pushDialog(dlgName);