if(isObject(EscapeMenu)) FullDelete(EscapeMenu);
Pretty sure if you stick this above your gui code it will work.Code: [Select]if(isObject(EscapeMenu)) FullDelete(EscapeMenu);
FullDelete() is not a default function, it was only included in mine and zeblote's unfinished GUI mod to delete the children of the group. Although now it appears that deleting the group also removes objects in them. Not sure why that is there.
Although now it appears that deleting the group also removes objects in them. Not sure why that is there.
EscapeMenu.deleteAll();EscapeMenu.delete();
... why?
exec("./escapeMenuPlus.gui");function escapeMenu::Toggle(%this){ canvas.pushDialog(escapeMenuPlusGui);}
2. How is it supposed to callback onWake when the object that would be calling it is deleted?
Because they're defined by name, and you're creating a new GUI with the exact same name?