var/obj/O=/obj in usr
why does this birng up the
Kage.dm:154:error:usr:undefined type error?
ID:272371
Jun 18 2008, 3:29 pm
|
|
var/obj/O=/obj in usr why does this birng up the Kage.dm:154:error:usr:undefined type error? |
In response to DivineO'peanut
|
|
Thanks, but when i tired that it just took the first object it could find in the usr's inventory, i need the usr to chose the object that is being chosen.
|
In response to Lt. Pain
|
|
You should have said so from the beginning. Use input():
var/O = input(usr,"Which /obj?","Choose") as obj in usr.contents |
In response to DivineO'peanut
|
|
Thanks
|
However, I don't think that's what you want to do. You want to get a reference for an object of type /obj in usr, right? You can do it using locate(), like this: