turf
roof
icon = 'roof3.dmi'
turf
roof
layer = MOB_LAYER+1 //overhead
Problem description:
I need help with this the roof works but i cant see whats uner the roof my mob just goes in how do i make where i can see whats inside the building?
ID:161105
Jun 17 2008, 6:35 pm
|
|
Code:
turf Problem description: I need help with this the roof works but i cant see whats uner the roof my mob just goes in how do i make where i can see whats inside the building? |
Jun 17 2008, 7:07 pm
|
|
Well, one way to do it would be to have a special state for when someone enters the area (we would be changing this to an /area insted of a /turf).
|
In response to Popisfizzy
|
|
another way to do it:
var/COVER_LAYER = 10 |
In response to Lureman
|
|
Lureman wrote:
another way to do it: var/COVER_LAYER = 10 Thank Shadowdarke for this way, because Lureman did not code it :) http://www.byond.com/developer/Shadowdarke/RoofLib |
In response to Popisfizzy
|
|
Popisfizzy wrote:
Well, one way to do it would be to have a special state for when someone enters the area (we would be changing this to an /area insted of a /turf). Wouldn't this make the roof disappear for everyone when someone enters inside the roof? Shouldn't you use images to add and remove the roof, so it only effects the individual player? |
In response to Soldierman
|
|
This was simply the simplest solution, and he hasn't replied or indicated he wants to do something differently. It could be done to make it only dissapear for a given player, but that would get a decent amount more complex.
|