Posts: 24
Threads: 8
Joined: Oct 2012
Reputation:
0
I am making a map editor but i want to make the objects save on exit.
I tried to do this by saving the objects in an .ini file.
But in the .ini file i get this: CreateObject(0,0,100,0,0,0);
Is there any way to get all the yet created objects modelid and then save it in an .ini file?
Posts: 1,826
Threads: 52
Joined: Feb 2012
Reputation:
0
You can check some of the ini functions on their respective topics.
Posts: 24
Threads: 8
Joined: Oct 2012
Reputation:
0
I have not problems with .ini files, i just want to know how to get object models to an array or something so that i can save the current created objects to an .ini file.
Posts: 24
Threads: 8
Joined: Oct 2012
Reputation:
0
I know how to save the cords.but i dont know how to take the model id of an object and thats why i made this thread.
Does anybody knows how to do this?(+REP)
Posts: 1,826
Threads: 52
Joined: Feb 2012
Reputation:
0
Maybe I think the function you want doesn't exist. Try making all the objects and save them in the file using MP2's code. Hope it might work it out for you.