place_light()
new/obj/light(usr.loc)
new/obj/beam(usr.x,usr,y-1)
It wont give any errors upon compiling, nor in game. It just doesnt work. Can someone help me out?
-Jcet
ID:179515
Dec 12 2001, 8:24 am
|
|
Im trying to make a place light verb, which places the light, then places the obj/beam all around it.. i tried this:
place_light() It wont give any errors upon compiling, nor in game. It just doesnt work. Can someone help me out? -Jcet |
In response to Deadron
|
|
I dont quite get what you mean. Something like this?
place_light() Please let me know what i need to do. -Jcet [On bro's key] |
In response to Pillsverry
|
|
Pillsverry wrote:
I dont quite get what you mean. Something like this? > place_light() Yes that should work. Try it and see what happens. |
The second one won't work because you have to pass in a turf, not x,y,z coordinates. Use locate() to get the turf you want then pass it to the new() call.