I.E.
client/New()
mob = /mob/player
That is what I would suspect would set it up, but it causes my connection to die and fail. I guess you cannot set a mob at runtime? So, how am I supposed to go about presetting it?
ID:156984
![]() Jun 19 2010, 1:54 pm
|
|
I know this is something I should know already, but it is stumping me. How can I set a mob to the client?
I.E. client/New() That is what I would suspect would set it up, but it causes my connection to die and fail. I guess you cannot set a mob at runtime? So, how am I supposed to go about presetting it? |
You need to refer the client's mob to an actual object, otherwise it cannot exist (the client that is). For example:
client/New() Though it is much easier if you define, as mentioned before, the default client mob to to be that path: world (See the entry for world/mob if you are wondering why we don't use new there). |
PS: You are saying that the client's mob is a path, not an existing object, hence the disconnection