ID:179310
Jan 21 2002, 8:35 am
|
|
Say i had a door that when you click on it it opens. But i only want the door to open if you have a key in your inventory. How would you do that?
|
In response to Foomer
|
|
i want to use the top one but it aint working
|
//unlock door
or
for(var/obj/key/K in usr)
if(K.value == "Super Special Door Key")
//unlock door
break