I'm having a small issue with a new background. The issue is that I want the texture Pillar to move so that it starts inside the fog (-850) and moves along the wall until it's out of view (-150) and then "jumps" back to the fog. However the pillar is not moving. I tried a starting value of -350 (which is on the view) but it's not going anywhere for some reason. I'm using variable slide2 to control the pillar's movement.
@BackGround {
SetTexture(Floor);
SetGraphicRect(0, 0+slide, 256, 256*3+slide);
SetGraphicAngle(0, 0, 0);
SetViewFrom(180, 90, 90);
SetViewTo(0, 0, 0);
SetFog(500, 900, 0, 0, 0);
DrawGraphic3D(GetClipMinX-30, -350, 100);
SetTexture(Wall);
SetGraphicRect(0+slide, 0, 256*3+slide, 256);
SetGraphicAngle(0, 90, 90);
DrawGraphic3D(GetClipMinX-155, -350, -30);
DrawGraphic3D(GetClipMinX+95, -350, -30);
SetTexture(Ceiling);
SetGraphicRect(0, 0+slide, 256, 256*3+slide);
SetGraphicAngle(0, 0, 0);
DrawGraphic3D(GetClipMinX-30, -350, -150);
SetTexture(Pillar);
SetGraphicRect(0, 0, 32, 290);
SetGraphicAngle(-45, 90, 90);
DrawGraphic3D(GetClipMinX-165, slide2, -30);
if(slide2 <= -150) { slide2 = -850; }
slide-=15;
slide2+=15;
}