I'm trying to make a list of obj but I get type mismatch:
var/list/Objs
del(Objs)
for(var/obj/O in view(1))
Objs+=O <---Type Mismatch On This Line
Anyone know how to do what I'm trying to do, or know what I'm doing wrong here?
--------------------------------------
EDIT:
I found the probleme, but now I have a diffrent question:
I'm declaring a verb:
Item_Take()
set src in view(1)
set name="Take Item"
set category="Inventory"
if(usr==null)return
src.loc=usr
The probleme is, if I type the verb, or click on it from the panel, it sets src from in my inventory, just moving src from my inventory to my inventory. I want to filter srcs in my inventory from possible srcs. I figure I would start with this:
if(locate(src in usr))
But I don't know were to go from here...
ID:174063
Oct 6 2003, 12:47 pm (Edited on Oct 6 2003, 2:20 pm)
|
|