ID:169403
 
I'm trying to figure this out. Is there a way to give a mob all of another mob's vars without getting this error?
You would have to cycle through all of the originating mob's vars and assign them separately;

proc
clone(mob/ref1,mob/ref2)
for(var/V in ref1.vars)
ref2.vars[V] = ref1.vars[V]

Vexonater wrote:
I'm trying to figure this out. Is there a way to give a mob all of another mob's vars without getting this error?

Yep. Exempt certain vars from copying.

Lummox JR