EN6_PRC8/_module/nss/tst_fog.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

22 lines
545 B
Plaintext

void main()
{
SetFogColor(FOG_TYPE_ALL,FOG_COLOR_GREEN,GetArea(OBJECT_SELF));
SetFogAmount(FOG_TYPE_ALL,1,GetArea(OBJECT_SELF));
DelayCommand(2.5,ExecuteScript("en6_wind",GetFirstPC()));
int i;
i=2;
while (i<31)
{
DelayCommand(3.0 + IntToFloat(i)/20.0,SetFogAmount(FOG_TYPE_ALL,i,GetArea(OBJECT_SELF)));
i=i+2;
}
DelayCommand(6.0,SetFogAmount(FOG_TYPE_ALL,20,GetArea(OBJECT_SELF)));
DelayCommand(6.2,SetFogAmount(FOG_TYPE_ALL,10,GetArea(OBJECT_SELF)));
DelayCommand(6.3,SetFogAmount(FOG_TYPE_ALL,1,GetArea(OBJECT_SELF)));
}