ID:145397
 
Code:
mob/var/list/V
client
proc
Load_Char()
var/savefile/S = new ("Player/[src.mob.ckey]")
S["mob"] >> src.mob
S["x"] >> src.mob.x
S["y"] >> src.mob.y
S["z"] >> src.mob.z
S["V"] >> src.V
src.verbs+=src.V
Save_Char()
var/savefile/S = new ("Player/[src.mob.ckey]")
S["mob"] << src.mob
S["x"] << src.mob.x
S["y"] << src.mob.y
S["z"] << src.mob.z
src.V+=src.verbs
S["V"] << src.V


Error:
code files\mob stuff.dm:10:error:src.V:undefined var
code files\mob stuff.dm:11:error:src.V:undefined var
code files\mob stuff.dm:18:error:src.V:undefined var
code files\mob stuff.dm:19:error:src.V:undefined var

Problem description:
I have tried and tried and tried but no matter what i do it never defines the variable V


src.mob.V
In response to Artemio
dont work
In response to Mxjerrett
um i try and try but nothing works
In response to Mxjerrett
Why not just define the variable inside of the proc?
client/proc
Save()
var/list/V=verbs.Copy()
...
F["V"]<<V
Load()
var/list/V=new
...
F["V"]>>V
verbs.Add(V)