Reference to mobs in Developer Help
|
|
Is there a problem in saving a mob's datum that holds reference to other players ?
Example (if I wasn't clear enough)
mob/var/guild/guild
guild var/list/members = list() Proc/Invite(mob/M) members += M M.guild = src
|
|
It would be better if you have a list() saving the mob name/key combo (ex: list("key"="name")) and a /mob reference to the guild being a var/tmp/ to avoid the problem mentioned previously (/tmp makes that variable unsavable with Write()).
Ex: