415
« on: August 09, 2013, 11:36:15 PM »
Back to the most talked about topic on this thread....
I need help with the Elec Man traps...
I got the code and I set up a map spot for the trap...
Script 4 OPEN
{
SetLineTexture(26, SIDE_FRONT, TEXTURE_MIDDLE, "-");
SetLineTexture(26, SIDE_BACK, TEXTURE_MIDDLE, "-");
SetLineTexture(27, SIDE_FRONT, TEXTURE_MIDDLE, "-");
SetLineTexture(27, SIDE_BACK, TEXTURE_MIDDLE, "-");
Delay(35*2);
SetLineTexture(26, SIDE_FRONT, TEXTURE_MIDDLE, "ELECZZ");
SetLineTexture(26, SIDE_BACK, TEXTURE_MIDDLE, "ELECZZ");
SetLineSpecial (26, DamageThing, 15);
ThingSound(1,"misc/electrap",127);
Delay(17);
SetLineTexture(27, SIDE_FRONT, TEXTURE_MIDDLE, "ELECZZ");
SetLineTexture(27, SIDE_BACK, TEXTURE_MIDDLE, "ELECZZ");
SetLineSpecial (27, DamageThing, 15);
ThingSound(2,"misc/electrap",127);
Delay(17);
SetLineTexture(27, SIDE_FRONT, TEXTURE_MIDDLE, "-");
SetLineTexture(27, SIDE_BACK, TEXTURE_MIDDLE, "-");
SetLineSpecial (26, 0, 0);
Delay(17);
SetLineSpecial (27, 0, 0);
restart;
}.