can i save an array with a game ini?

i want to know if i can save an array to load it later on a game ini because i want to make a world editor for my oldblox project and i want to know if game inis work on this case:

{oldblox stdio}-->[create world]-->(save as ini)-----
|
v
{oldblox game room}
{start a world id var for players}<----{Load game ini array}<-------------?
|
|______>[delete players with diferent world id]----->{draw the array of the ini}



array:
????????
???????? _____________\ SAVED ON INIs ==========> [loaded on game room]
???????? / [made on other room]
????????

(is the same array for 2 different rooms to create the game)
and the question is ¿can i save an array using game INIs or theres an other way to do it?

Replies (2)

Last message on 13 Apr 2019

Size43 (Administrator) on 1 Apr 2019, 17:11:24
You can't directly save arrays to the GameINI.

You could use ds_grids in combination with ds_grid_write (see YYG's documentation) to turn a ds_grid into a string, which you can save in the INI.
BonniekawaiidesuG (Topicstarter) on 13 Apr 2019, 03:25:15
ok....