ID:160873
 
Ok when i put this code in and this code in it doesn't work i wan't to be able to open the door and close the door can someone help me?

obj/Door/door/verb/Turn_Door_Handle()
set src in view(2)
Door density = 0
Door icon = 'opendoor.dmi'
density = 0
name = "opendoor"

<dm>obj/Door/opendoor/verb/Close_The_Door()
set src in view(2)
opendoor density = 1
opendoor icon = 'door.dmi'
density = 1
name = "door"
That code........

It won't even pass the compiler. I suggest you read the DM guide or Zilal's tutorials since that is a really basic question.
Indeed, you should start learning and read this:
http://www.byond.com/members/ DreamMakers?command=view_post&post=40355
Yea...................Uh I suggest you do what they said, you're running before you can walk.

-World Build
In response to World Build
If you're making an absolutely useless post like that, why bother even making it?
IDWMno wrote:
Ok when i put this code in and this code in it doesn't work i wan't to be able to open the door and close the door can someone help me?

obj/Door/door/verb/Turn_Door_Handle()
> set src in view(2)
> Door density = 0
> Door icon = 'opendoor.dmi'
> density = 0
> name = "opendoor"
>
> <dm>obj/Door/opendoor/verb/Close_The_Door()
> set src in view(2)
> opendoor density = 1
> opendoor icon = 'door.dmi'
> density = 1
> name = "door"
>
>
>



>you need to remove the word door befor density and icon so that it only says "density = 0" or "icon = 'door.dmi'".remove the quotations


also why would you post a useless post about a useless post?