var/Night = 0
world
New()
NightDay()
proc/NightDay()
if(Night == 0)
if(Hour > 5 && Zone == "pm")
for(var/area/Shadow4/S in world)
S:icon_state = "Shadow"
Night = 1
spawn(1) NightDay()
else if(Night == 1)
if(Hour > 5 && Zone == "am")
for(var/area/Shadow4/S in world)
S:icon_state = "Shadow2"
Night = 2
spawn(1) NightDay()
ID:148120
Jul 4 2003, 3:00 am
|
|
Jul 4 2003, 3:44 am
|
|
... so what about this? What do you need?
|
In response to Unknown Person
|
|
Oops, forgot to add the text. Well all i have to say is it doesn't work, no errors,warnings,runtimes just doesn't work.
Any ideas on whats wrong? |
In response to Crashed
|
|
I think night should be a global var.
|
In response to The mothball
|
|
Is it not?
|
Crashed wrote:
var/Night = 0 It should be: var/Night = 0 |
In response to SSj2-Mystic
|
|
Totally wrong.
|