mob
proc
Save()
var/savefile/F = new("Save/[src.ckey]")
F["last_x"] << src.x
F["last_y"] << src.y
F["last_z"] << src.z
src.Verb_List = src.verbs
F["verbs"] << src.Verb_List
Write(F)
src << "<font color=blue><font size=-1>INFORMATION:<font color=white>Profile Saved."
Load()
if(fexists("Save/[src.ckey]"))
var/savefile/F = new("Save/[src.ckey]")
Read(F)
F["last_x"] >> src.x
F["last_y"] >> src.y
F["last_z"] >> src.z
F["verbs"] >> src.verbs
src << sound('Main.mid',1)
ID:269336
May 29 2005, 6:43 pm
|
|
I know BYOND isnt defualted to save verbs, so I tried to use myne....and I can't get it to work. Please don't tell me to use Deadrons Character Handling...Help please.
|
It's very important to close your HTML tags. Also, you can combine <font> tags with different attributes like size and color into a single tag.
If you use styled text a lot, I highly recommend using a .dms file with a style sheet, and then you can use <span> to apply styles easily. Lummox JR |
of course you wouldn't put the check directly in the login proc, you want to put it at the very end of your load proc, make sure the mob is completely loaded and then check it.