It was by accident that i run into it. I'm guessing it has to do with my attempt at a titlescreen.
Am i missing something when i just make the Goptions.Visible=true ?
Using the Thumbleweed Template.
I'm guessing that is what makes it crash, i have tried to take away bits of the code's like tweens and such, but what's bothering me is that it crashes and blaims the repeatedly_execute: Error: Null string referenced
Edit: However it goes to repeatedly_execute in the optionsscript i believe, where it shows save synthax, that i am completely clueless about.
Edited:
The line that's hightlighted is SaveGameSlot(customSaveData.saveSlotId, customSaveData.saveSlotString);
Code: ags
Am i missing something when i just make the Goptions.Visible=true ?
Using the Thumbleweed Template.
I'm guessing that is what makes it crash, i have tried to take away bits of the code's like tweens and such, but what's bothering me is that it crashes and blaims the repeatedly_execute: Error: Null string referenced
Edit: However it goes to repeatedly_execute in the optionsscript i believe, where it shows save synthax, that i am completely clueless about.
Edited:
The line that's hightlighted is SaveGameSlot(customSaveData.saveSlotId, customSaveData.saveSlotString);
/ Remember when the game was started
function game_start()
{
TimeCount.GameStart();
#ifdef SCRIPT_API_v3507
ScreenWidth = Screen.Width;
ScreenHeight = Screen.Height;
#endif
#ifndef SCRIPT_API_v3507
ScreenWidth = System.ScreenWidth;
ScreenHeight = System.ScreenHeight;
#endif
}
// workaround to take a savegame screenshot without the gui
function repeatedly_execute()
{
TimeCount.RepExec();
if (customSaveData.save_scheduled) {
SaveGameSlot(customSaveData.saveSlotId, customSaveData.saveSlotString);
customSaveData.saveSlotId = 0;
customSaveData.saveSlotString = "";
customSaveData.save_scheduled = false;
}
}
#endif
#ifndef __VERB_GUI_MODULE__ //A dependency is missing
#error Missing module 'OptionGui'
#endif