KennyJC
Member
Posts: 321
Registered: 11-02 |
AgentSpork said:
Why not just use Sector_SetCeilingPanning? Seems much simpler to me. If I wanted to change a ceiling's texture alignment by 32 units horizontally and vertically, I could just create something like this:
code: Script 1 OPEN { Sector_SetCeilingPanning(1,32,0,32,0); }
Well that seems straight forward, but just like my attempts with the previous method, the ceiling alignment isn't budging.
I made one of the linedefs of the sector the SetCeilingPanning, and tagged it to sector 8. I just left it on "player walks over", but also tried "player presses use" (made no difference) I tagged the sector as 8 also. The sector even lights up when you highlight the linedef. I then have the following code for the map:
code: #include "zcommon.acs"
script 1 OPEN
{
Sector_SetCeilingPanning(8,32,0,32,0);
}
Since nothing happened, I then filled in the values on the lindef screen for 8,32,0,32,0 to confirm what was in the code, but this did nothing when playtesting either.
What am I missing?
|