Learning GUI
by Manni Medeiros · in Torque 3D Professional · 06/04/2011 (10:32 am) · 1 replies
Ok so I'm not sure if i missed the answer but something seems odd. So I wanted to see if I could make an additional options screen like the original one but different options of course, so i made and extra button and made the screen and saved the gui. Now here is where my problem came in. If I load my game and press the options2 button using "Canvas.pushDialog(Virtin);" (Virtin is the name i saved the second option gui as.) Then it does not load but the options gui using the same code does?? So then i opened Virtin to make sure that it worked fine and it does. SO then I went back to the main menu gui after opening virtin and hit f10 and try it, then it works fine...
I think I'm missing something I do not understand and cannot seem to find an answer. If someone could let me know what I am missing it would be much appreciated.
I think I'm missing something I do not understand and cannot seem to find an answer. If someone could let me know what I am missing it would be much appreciated.
About the author
Awkward Monkey was created by me and consists of me my wife and a few friends we are looking into expanding and love developing. Http://www.awkwardmonkey.com
Manni Medeiros
Awkward Monkey
File list:
scripts/client/init.cs
Code Needed:
exec("art/gui/Virtin.gui");
I could not believe this when i found it, cause it took forever!