ID:165383
![]() Jan 3 2007, 4:22 am
|
|
Is it posible to make a verb to let the player make a copy of himself ?
|
![]() Jan 3 2007, 6:06 am
|
|
Yes, you can. If you want it to be an exact copy, you can just create a new object with the same type path as the player, and copy all of the important variables (skipping a couple of internal ones such as 'client' or 'key'). To do this, you have to loop through the 'vars' list all objects have.
|
No, his code is fine, but he missed some vars in the 'skip' list - you will get some "can't write to var" errors, etc.
Anyway, before making topics, search first. There are probably tons of topics about this. [link] Examples to go with that proc: mob/verb |