So I'm trying to replace the front, middle texture on linedef 355 using a map script. This is on a Doom map in UDMF format. SetLineTexture is just... not working for this. I have no clue what I'm doing wrong.
Here's the script...
Code: Select all
SetLineTexture (355, LINE_FRONT, TEXTURE_MIDDLE, "HAZARD");
Nothing occurs when this runs, but the rest of the event goes off fine. Linedef 355 is additive and has partial alpha transparency, but I dunno if that's doing anything. I suspect it might be related to the lineid, but I really have no clue.
I can provide more info if needed, but I'm not sure what else would matter. Help! D: