day night cycle, does not change the sky
someone tell me why?
;Artificial Intelligence Script
;by friskon www.making-videogames.net italian community
;Header
desc = Ciclo Giorno/Notte
;Triggers
:state=0:state=9
:state=9:timerstart,sky=skybank\natural\Sns,state=1
:state=1,timergreater=10000:ambience=90,ambiencered=200,ambienceblue=200,ambiencegreen=200,state=2
:state=2,timergreater=20000:ambience=80,ambiencered=150,ambienceblue=150,ambiencegreen=150,state=3
:state=3,timergreater=30000:ambience=70,ambiencered=100,ambienceblue=100,ambiencegreen=100,state=4
:state=4,timergreater=40000:ambience=60,ambiencered=75,ambienceblue=75,ambiencegreen=75,state=5
:state=5,timergreater=50000:ambience=50,ambiencered=60,ambienceblue=60,ambiencegreen=60,state=6
:state=6,timergreater=60000:ambience=40,ambiencered=45,ambienceblue=45,ambiencegreen=45,state=7
:state=7,timergreater=70000:ambience=30,ambiencered=30,ambienceblue=30,ambiencegreen=30,state=8
:state=8,timergreater=80000:ambience=25,ambiencered=25,ambienceblue=25,ambiencegreen=25,sky=skybank\natural\Ngt,state=10
:state=10,timergreater=90000:ambience=30,ambiencered=30,ambienceblue=30,ambiencegreen=30,state=11
:state=11,timergreater=100000:ambience=40,ambiencered=45,ambienceblue=45,ambiencegreen=45,state=12
:state=12,timergreater=110000:ambience=50,ambiencered=60,ambienceblue=60,ambiencegreen=60,state=13
:state=13,timergreater=120000:ambience=60,ambiencered=75,ambienceblue=75,ambiencegreen=75,state=14
:state=14,timergreater=130000:ambience=70,ambiencered=100,ambienceblue=100,ambiencegreen=100,state=15
:state=15,timergreater=140000:ambience=80,ambiencered=150,ambienceblue=150,ambiencegreen=150,state=9
;End of Script