During my work on the new version of SPZ1, I decided to upgrade all line switches to 3D switches. I came across something in one map where the switches react strangely to a moving polyObject. Even though it does not appear to touch the moving PolyObj, the switches jump to the top of the sector they are "attached" to. It varies based on whatever the sector height is. I tried numerous flags to no avail.
https://1drv.ms/u/c/f562b31d53640a9e/IQ ... I?e=ctSG4F
https://mega.nz/file/COI0gYiS#v62Xdyg58 ... wFffKIQg7I
Code: Select all
#include "include/zcommon.acs"
//Rotate the poly walls
script 14 (int whichPoly){
if (whichPoly == 1){
PolyObj_RotateLeft(2, 3, 32);
} else if (whichPoly == 2){
PolyObj_RotateRight(2, 3, 32);
}
PolyWait(2);
}