Dr_Nomz
Member
I thought I knew how to do this, but lot's of testing shows I have no idea how to do this.
Basically it should just go through each and every value contained in each part of the "option" list, and save it.
But when I tried to load it, it was loaded in as a grid and had none of the correct values.
This is how I'm loading it in. If you're confused watch this tutorial:
around 4:00 is about where he explains the important bits.
Code:
for (var o=0; o<4; o+=1){
var _row = scr_DSGAR(save_blue_dialogue);
save_blue_dialogue[# save_blue_dialogue_enum.option, _row]=option[|o];
}
But when I tried to load it, it was loaded in as a grid and had none of the correct values.
Code:
var db0_key = room_get_name(room)+"save_blue_dialogue_string";
var save_blue_dialogue = ds_grid_create(0,0);
var db0_str = scr_SDGV(db0_key);
ds_grid_read(save_blue_dialogue,db0_str);
var o=0;
for (var db0_row=0; db0_row<ds_grid_height(save_blue_dialogue); db0_row++){
option[|o]=save_blue_dialogue[# save_blue_dialogue_enum.option, db0_row];
o++
}