How do i set an obj into the users contents on login?
Please respond
ID:165688
Nov 14 2006, 1:36 pm
|
|
In response to Mecha Destroyer JD
|
|
Mecha Destroyer JD wrote:
A very simple way would be: > usr.contents += new /obj/Item NOOOOOOOOOOOOOOOOO USR !!!!11!!!!!!!one!!!!!!!2!!!!
src.contents+=new/obj/Item
|
In response to Shlaklava
|
|
Yah, you caught meh that time. Guess I went into verb mode or w/e. But poster(by default), use src in procs and usr in verbs..0_0
|
In response to Shlaklava
|
|
Shlaklava wrote:
NOOOOOOOOOOOOOOOOO USR !!!!11!!!!!!!one!!!!!!!2!!!! On the contrary: usr is valid in mob.Login() unless you call it from elsewhere. It's a bad habit to use usr, but it doesn't warrant such a reaction. |
usr.contents += new /obj/Item