Vulpes_Coders
Member
Hi, i am making a save script for my game using instance_place.
Everything was okay till time that i have noticed that if 2 objects are at exacly this same place only one is saved. I made object to check if that's true and results was positive. So my question is if instance_place returns only 1 object id ? If not, how can i make it to return 2 objects id ?
Code:
var inst = instance_place(xx,yy,all);
if(inst)
{
var instIndex = inst.object_index;
ini_write_string("Map0", string(ntp(xx))+","+string(ntp(yy)), instIndex);
}