Jump to content
  • 0

Trigger ambush via linedef when returning to area?


Nightcrawler552

Question

So say I set a linedef to trigger an ambush but only want it to trigger once I return to it at a later time, how would I do that? I assume it has something to do with "set line activation" but I'm not quite sure how to script it.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

You can use "setlinespecial" to do it. You can also use a variable to have the ambush activate after certain conditions are met:       

{

if (trap == 1)

           {

                    ambush

           }

}

 

it's even possible to do in vanilla doom using dummy sectors.

Share this post


Link to post
  • 0
8 hours ago, Rorix said:

it's even possible to do in vanilla doom using dummy sectors.

 

Yeah, the method I use is a walk-repeatable line to lower the floor to 8 above the highest floor, tagged to the closet opening sectors, and those sectors are joined to control sectors which have the highest floor set to the ceiling, and those control sectors get lowered to the lowest floor (a different dummy sector) after a certain trigger is activated.

 

The result is a hallway you can walk up and down all you like and nothing happens, but once that trigger is hit and a control sector is lowered, the next time you pass the hallway trigger, it activates.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...