In the level i made i used this one (the ugly level, read older thread)...
// NPC made by Ferret
if (created) {
setimg light2.png;
dontblock;
timeout = 0.1;
}
//#CLIENTSIDE
if (timeout) {
setcoloreffect 1,1,1,0.99;
drawaslight;
sleep 0.2;
setzoomeffect 1.1;
sleep 0.2;
setzoomeffect 1.2;
sleep 0.2;
setzoomeffect 1.1;
sleep 0.2;
setzoomeffect 1;
timeout = 0.1;
}
Else i dont know how to do it but this one works pretty well
