Use this, I'm working on that for my Slayer: Battle Tanks 2 game as well:
rem Find positions
x#=object position x(1)
y#=object position y(1)
z#=object position z(1)
x$=str$(x#)
y$=str$(y#)
z$=str$(z#)
rem Save
if shiftkey()=1
delete file "pos.txt"
open to write 1,"pos.txt"
write string 1,x$
write string 1,y$
write string 1,z$
close file 1
endif
All right. That is saying that the
"pos.txt" file is the file you want to save to. This is also assuming that the player is object
1. I hope this helps, and I know this works, I'm using it for my game.
If you want to load the file and position the object at the spot he last was at, use this:
rem Load file
open to read 1,"pos.txt"
read string 1,x$
read string 1,y$
read string 1,z$
close file 1
x#=val(x$)
y#=val(y$)
z#=val(z$)
rem Position object
position object 1,x#,y#,z#
There you go, enjoy and change how you like.

--------------------------------------
Vote for
Excelsis on the Puzzle Game Compo
__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk