I'm trying, to load a sprite from a .sav file. But the variable won't declare:
{
ini_open('1.sav');
box_color = ini_read_string('Character','sprite','1');
ini_close();
}
and then under create for the object:
{
if( box_color == "1" )
{
sprite_index = sprite_red;
}
}
but it says unknown variable.