asmodeus wrote:Either you use variables that you save in groups (screenshot) and use the loadVars() and saveVars() functions or you use a file.
stage = 1;
saveVars("myfile", "mygroup");
loadVars("myfile", "mygroup");
got_diamond = 1;
saveVars(...);
loadVars(...);
if(got_diamond==1) DestroyActor("diamond");
Users browsing this forum: No registered users and 1 guest