Well, I don't get it. After removing the wind specials, giving them all their own IDs, it still ain't working:
The first script works perfectly. The wind is blowing. But the second one, which is just the same script, copy & pasted. All I did was replace the speed of 80 by 0. Also I gave it an own ID. The log message "Wind stop" is being displayed. So I know the script is being executed.
Code: Select all
script 25 (void) {
Sector_SetWind(2,20,0,0);
Sector_SetWind(201,80,128,0);
Sector_SetWind(202,80,128,0);
Sector_SetWind(203,80,192,0);
Sector_SetWind(204,80,192,0);
Sector_SetWind(205,80,0,0);
Sector_SetWind(206,80,0,0);
Sector_SetWind(207,80,64,0);
Sector_SetWind(208,80,64,0);
Log(s:"Wind start");
}
script 26 (void) {
Sector_SetWind(2,0,0,0);
Sector_SetWind(201,0,128,0);
Sector_SetWind(202,0,128,0);
Sector_SetWind(203,0,192,0);
Sector_SetWind(204,0,192,0);
Sector_SetWind(205,0,0,0);
Sector_SetWind(206,0,0,0);
Sector_SetWind(207,0,64,0);
Sector_SetWind(208,0,64,0);
Log(s:"Wind stop");
}
While writing this, I got another idea. Perhaps I have to add the opposite wind? I'm going to try that.