I want it so that when a mob enters the "KillRoof" tile, all of the pieces of a roof that are in view, change into the "Blank" icon state, which is just mask. I have no idea where to begin, I came up with this, but nothing happens when somone enters the "KillRoof" tile. Any suggestions?
turf
Roof
icon = 'Roof.dmi'
KillRoof //turf that makes the roof go away
icon = 'Turfs.dmi'
icon_state = "Blank"
Entered(mob/M as mob)
for(var/turf/Roof/R in view())
R.icon = 'Nothing.dmi'
ID:261526
Jun 8 2002, 7:19 am
|
|
Jun 8 2002, 9:40 am
|
|