Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
doom3

How to open a door upon death?

Recommended Posts

How can I make a door open or make something happen when a certain monster is killed? (Like in e1m8, e2m8, e3m8, and e4m8)

Share this post


Link to post

It depends on the enemys your using. It only works on the levels you described, and is reffered to as Sector Tag 666. And it doesnt open a door, it uses line Floor lower to lowest. In Doom2 Map07 tag 666 lowers ther walls for the arachnotrons and tag 667 raises floor to highest texture or something like that.

Share this post


Link to post

kinda similar to when you grab a key in E1M4 in the room surrounded by sludge, the door opens. But you can tell, once you step in the area where you took the key again, the doors will open/close again.

Share this post


Link to post

if you use zdoom assign a Door_Open to the thing, when he dies the door will open ;)

for multiple enimies use thing script:

#include "zcommon.acs"

script 1 OPEN
{
if (ThingCount(ThingType, TID) == 0) {
Door_Open(Tag, Speed);
ACS_Terminate(1, MapNumber);
}
delay(5);
restart;
}

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
Sign in to follow this  
×