Game Development Community

Gui Problem

by shijin · in General Discussion · 03/21/2009 (5:55 pm) · 2 replies

İ can save gui files but idk how to load it sorry i am new . . .

#1
03/21/2009 (10:37 pm)
You would need to "exec" them somewhere. You didn't say what engine... in TGE/TGEa that "somewhere" is usually in the client script init.cs in function initClient()

exec("./ui/yourGUIName.gui");
./ui/ indicates the filepath to which you saved your gui.
#2
03/22/2009 (1:50 am)
thnk you