How you make it so when you press drop the item apears under you and gets deleted from inventory
ID:176973
Nov 23 2002, 8:52 pm
|
|
In response to Unknown Person
|
|
ok thanks ill see if it works
|
In response to Koolguy900095
|
|
NOnonononononononono, i assume you looked at the old version, i changed it
|
In response to Unknown Person
|
|
where would i put that code?
|
In response to Koolguy900095
|
|
You can put in anywhere, but don't mix it up with anything else.
|
In response to Unknown Person
|
|
yeah let me try now :P
|
In response to Unknown Person
|
|
Unknown Person wrote:
obj/swordhow does that help you drop it then have it apear under you? and it says i indented to much |
In response to Koolguy900095
|
|
With the src.loc = usr.loc there, it makes the item go under you! Easy as that. Oh yeah, i forgot something, try to put this little code betweent the thing above.
set src in view(0) or you could put it in 1 view, but i prefer when you are on top of it, safer... |
obj/sword
icon = 'sword.dmi'
verb
get()
src.loc = usr.loc
usr << "You pick up the [src]!"