ID:179739
 
Well, in the game that I and Ball are Creating, we'd like to know how to make a save Point. Example : you walk on the save point, then in the text button it say's "Character (Name) saved."
Selderan wrote:
Well, in the game that I and Ball are Creating, we'd like to know how to make a save Point. Example : you walk on the save point, then in the text button it say's "Character (Name) saved."



This is very simple to do here is a example:

turf/save_point
icon='save_point.dmi'
Entered(mob/M)
var/savefile/F = new("[M.ckey].sav")
Write(F)
M<<"[M.name] saved"


This is not tested.
In response to Nadrew
You rock man :)
Selderan wrote:
Well, in the game that I and Ball are Creating, we'd like to know how to make a save Point. Example : you walk on the save point, then in the text button it say's "Character (Name) saved."

I'm not sure if this will work, but try it anyway and if it doesn't work, mess around with it a bit.

turf/Save_point/
verb/Save_game
set src in view(0)
blah blah blah...

That might work, if it doesn't change Save_point to an obj.

Nice game you got, by the way.