Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Frisky

Walkover-Line Ambushes?

Recommended Posts

How can I make it so that when the player walks over a line, it makes a door open in GZDoom Builder? Ask me for any details if needed.

Share this post


Link to post

Well if you're using GZDoom you might as well use UDMF, since it's the only format that makes full use of its features.

Anyways, all you do is give a door a unique tag, then draw a linedef, give the linedef a "Door Generic" action, set the trigger to "player walks over", and then set the tag to the same number as the door sector's tag.

Share this post


Link to post
Frisky said:

Actually, it's in Hexen format, but I can't tell if it's good or not.

no do this

first make a mapspot and tag it 1337

in scripts add a new line

#include "zcommon.acs"

script 1 (void)
{
spawnspotfacing("YOURENEMYNAMEHERE",1337,1337);
}

then in the line, give it action 80 execute script, walk over line.. then execute script 1.

i'm sorry if you didnt want this, but it spawns a enemy in the mapspot 1337.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×