[T1] play.gui

Foodey
12-31-2002, 07:09 AM
Rawr when I fix huds in the right position with tree();

using
storeObject("playGui","tempplay.gui"); <-- crashes
so I used
storeObject("playGui","temp\\play.gui"); (works but when I copy this play.gui from temp\\ and place it into config// relaunch tribes all huds are in normall position :\

something to do with these codes? :

%hudContainer=newObject("FlagHUD_Container", SimGui::Control, 0, $FlagHUD::Ypos, 40, 34);


also in vp40 which file makes the Gui\\Play.gui ? :heart:

cyclonite
12-31-2002, 10:22 AM
I think VP positions the huds everytime is starts, so you have to change the coordinates in the script.

Runar
12-31-2002, 10:24 AM
No gui objects are stored with the Play.gui, they are created everytime the playgui is loaded for the first time. It is NOT a good idea to keep the hud objects in playgui, you will end up with multiple versions and stale objects.

Animo$ity
12-31-2002, 04:30 PM
Runar check your pm