I made my fisrt script
it makes the light pulse on and off,
for red alarms and sirens in your games,
I added it for an escape level at the end of my game
here it is
;Artificial Intelligence Script
;Header
desc = Light Pulse (By James Wyche)
;Triggers
:state=0:state=1,timerstart
:state=1,timergreater=50:state=2,lightrange=20
:state=2,timergreater=100:state=3,lightrange=40
:state=3,timergreater=150:state=4,lightrange=60
:state=4,timergreater=200:state=5,lightrange=80
:state=5,timergreater=250:state=6,lightrange=100
:state=6,timergreater=300:state=7,lightrange=120
:state=7,timergreater=350:state=8,lightrange=140
:state=8,timergreater=400:state=9,lightrange=160
:state=9,timergreater=450:state=10,lightrange=180
:state=10,timergreater=500:state=11,lightrange=200
:state=11,timergreater=550:state=12,lightrange=220
:state=12,timergreater=600:state=13,lightrange=240
:state=13,timergreater=650:state=14,lightrange=280
:state=14,timergreater=700:state=15,lightrange=300
:state=15,timergreater=750:state=16,lightrange=320
:state=16,timergreater=800:state=17,lightrange=340
:state=17,timergreater=850:state=18,lightrange=380
:state=18,timergreater=900:state=19,lightrange=400
:state=19,timergreater=950:state=20,lightrange=420
:state=20,timergreater=1000:state=21,lightrange=440
:state=21,timergreater=1050:state=22,lightrange=480
:state=22,timergreater=1100:state=23,lightrange=500
:state=23,timergreater=1150:state=24,lightrange=520
:state=24,timergreater=1200:state=25,lightrange=540
:state=25,timergreater=1250:state=26,lightrange=580
:state=26,timergreater=1300:state=27,lightrange=600
:state=27,timergreater=1350:state=28,lightrange=620
:state=28,timergreater=1400:state=29,lightrange=640
:state=29,timergreater=1450:state=30,lightrange=680
:state=30,timergreater=1500:state=31,lightrange=700
:state=31,timergreater=1550:state=32,lightrange=680
:state=32,timergreater=1600:state=33,lightrange=640
:state=33,timergreater=1650:state=34,lightrange=620
:state=34,timergreater=1700:state=35,lightrange=600
:state=35,timergreater=1750:state=36,lightrange=580
:state=36,timergreater=1800:state=37,lightrange=560
:state=37,timergreater=1850:state=38,lightrange=540
:state=38,timergreater=1900:state=39,lightrange=520
:state=39,timergreater=1950:state=40,lightrange=500
:state=40,timergreater=2000:state=41,lightrange=480
:state=41,timergreater=2050:state=42,lightrange=460
:state=42,timergreater=2100:state=43,lightrange=440
:state=43,timergreater=2150:state=44,lightrange=420
:state=44,timergreater=2200:state=45,lightrange=400
:state=45,timergreater=2250:state=46,lightrange=380
:state=46,timergreater=2300:state=47,lightrange=360
:state=47,timergreater=2350:state=48,lightrange=340
:state=48,timergreater=2400:state=49,lightrange=320
:state=49,timergreater=2450:state=50,lightrange=300
:state=50,timergreater=2500:state=51,lightrange=280
:state=51,timergreater=2550:state=52,lightrange=260
:state=52,timergreater=2600:state=53,lightrange=240
:state=53,timergreater=2650:state=54,lightrange=220
:state=54,timergreater=2700:state=55,lightrange=200
:state=55,timergreater=2750:state=56,lightrange=180
:state=56,timergreater=2800:state=57,lightrange=160
:state=57,timergreater=2850:state=58,lightrange=140
:state=58,timergreater=2900:state=59,lightrange=120
:state=59,timergreater=2950:state=60,lightrange=100
:state=60,timergreater=3000:state=61,lightrange=80
:state=61,timergreater=3050:state=62,lightrange=60
:state=62,timergreater=3100:state=63,lightrange=40
:state=63,timergreater=3150:state=0,lightrange=20
;End of Script
add it to your "Main" section of any light,
if you have a blue light, and you add it, then it will flash like a police car