Advanced Search

Author Topic: MM2QUI block monster lines  (Read 1134 times)

0 Members and 1 Guest are viewing this topic.

September 25, 2016, 04:09:44 PM
Read 1134 times

Offline Xhatahx

  • Standard Member

  • *sregnif sevaelretni* stenet wef a evah I
  • Date Registered: September 03, 2016, 07:21:47 AM

    • View Profile
MM2QUI block monster lines
« on: September 25, 2016, 04:09:44 PM »
Sometimes, the bots just DERP and run into a force beam. This is how to fix it:
Code: [Select]
Script 1 OPEN
{
Delay(35*7);
//Laser 1 turn on
ChangeFloor(1,"QARROW");
ChangeFloor(8,"QARROW");
Delay(35*2);
Line_SetBlocking(1,BLOCKF_MONSTERS,0); //NEW
SetActorState(1,"Fire",0);
SetActorState(9,"Fire",0);
ThingSound(3, "misc/quicktrap",127);
ThingSound(10, "misc/quicktrap",127);
delay(35*4);
//Laser 1 turn off
ChangeFloor(1,"BLACK");
ChangeFloor(8,"BLACK");
SetActorState(1,"Spawn",0);
SetActorState(9,"Spawn",0);
Line_SetBlocking(1,0,BLOCKF_MONSTERS); //NEW
delay(35*7);
//Laser 2 turn on
ChangeFloor(2,"QARROW");
ChangeFloor(8,"QARROW");
Delay(35*2);
Line_SetBlocking(2,BLOCKF_MONSTERS,0); //NEW
SetActorState(2,"Fire",0);
SetActorState(9,"Fire",0);
ThingSound(4, "misc/quicktrap",127);
ThingSound(10, "misc/quicktrap",127);
delay(35*4);
//Laser 2 turn off
ChangeFloor(2,"BLACK");
ChangeFloor(8,"BLACK");
SetActorState(2,"Spawn",0);
SetActorState(9,"Spawn",0);
Line_SetBlocking(2,0,BLOCKF_MONSTERS); //NEW
restart;
}
Just add linedefs with tags 1 and 2.

September 25, 2016, 04:19:12 PM
Reply #1

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: MM2QUI block monster lines
« Reply #1 on: September 25, 2016, 04:19:12 PM »
Fixed, but I just added basic block likes for all the lanes. Bots will still get caught in them and lose frags.