Hola a todos de nuevo, estaba haciendo un Mapa para Zdoom (Doom in Hexen Format) y quiero que la Luz de un Sector Baje y suba de una y una Unidad, pero baja la Luz y ya no sube, aqui el Script:
Código: |
Int Light1=255;
Int Light2=-1;
Script 5 Open
{
Light1=Light1+Light2;
If(Light1==255)
{
Light1=Light1+Light2;
}
If(Light1==0)
{
Light1=Light1+1;
}
Light_ChangeToValue(9,Light1);
Delay(Const:15);
Restart;
} |
Espero que me Puedan Ayudar.
_________________
My Maps of Doom