The function Mod.PEsavedata and read data
The parameters (key,value) I'm have a little trouble figuring out what goes in them
And can this be used to save variables?
Thanks in advanced;)
Rollback Post to RevisionRollBack
Remember this is round 27, think off call or duty logic, our pistol are as useless as broken condoms.
var blabla = "yolo swag";
ModPE.saveData("some_text",blabla);//this will save the data and it wont reset after you leave the level
if(something){
blabla = ModPE.loadData("some_text");
}
Thanks your a big help hey if this seems random just say would you like to beta test a mod?Also I see it says it won't release until I leave level .
Is there a way to save permantly like if I leave app I can have it load?
Rollback Post to RevisionRollBack
Remember this is round 27, think off call or duty logic, our pistol are as useless as broken condoms.
To post a comment, please login or register a new account.
The parameters (key,value) I'm have a little trouble figuring out what goes in them
And can this be used to save variables?
Thanks in advanced;)
var blabla = "yolo swag"; ModPE.saveData("some_text",blabla);//this will save the data and it wont reset after you leave the level if(something){ blabla = ModPE.loadData("some_text"); }Is there a way to save permantly like if I leave app I can have it load?