Weird impy thing
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Monster Triggers
 
Author
All times are GMT. The time now is 10:54. Post New Thread    Post A Reply
thedemonsarecoming
Mini-Member


Posts: 62
Registered: 02-03


How can I make it so that when ceratin monsters are killed in an area, a door opens up? Im using ZDooM and WadAuthor.

__________________
-*-

Old Post 02-16-03 03:57 #
thedemonsarecoming is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Cyb


Posts: 2726
Registered: 07-02


If you want only one action to occur upon a certain monster's death you just simply set his thing special. Double click the thing in wauth and a menu will pop up (I'm sure you know this already). Under the thing type there's a little pull down menu with a bunch of specials listed. Select Door_Open and fill in the fields accordinly (I believe it's (tag, speed, lock) for Door_Open).

If you want to have multiple actions occur when the monster dies (ie, a door opens, some health spawns and the player gets flung 128 units, all at the same time), then instead of Door_Open, use ACS_Execute which will execute a script you specify when the monster dies (the fields for ACS_Execute are (script, map, arg0, arg1, arg2), most likely you won't need any aside from the first though, map0 would be the current map).

Hope that helps.

Old Post 02-16-03 07:55 #
Cyb is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
The Ultimate DooMer
(former) /newstuff Chronicler


Posts: 4449
Registered: 03-02


If you want a door to open when you kill one monster, attach this special to the monster in the thing properties box:

Door_Open (tag, speed)

If you want a door to open when you kill a group of monsters, give them all a tag and set up this script:

script 1 (void)

{
print (s:"kill everything to open the door");
while (thingcount (0, tag))
{
delay(35);
}
Door_Open (tag, speed);
}


Make sure you activate the script when you enter the room. (you don't need the print message, I just put it there for effect)

Old Post 02-16-03 12:10 #
The Ultimate DooMer is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
thedemonsarecoming
Mini-Member


Posts: 62
Registered: 02-03


Do I set the sector linedefs to normal, since I dont want the player to be able to open it without killing the monsters?

__________________
-*-

Old Post 02-16-03 14:34 #
thedemonsarecoming is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Erik
Forum Staple


Posts: 2088
Registered: 10-01



thedemonsarecoming said:
Do I set the sector linedefs to normal, since I dont want the player to be able to open it without killing the monsters?


yes.

__________________
http://www.doom2.net/~erik

Old Post 02-16-03 14:41 #
Erik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
thedemonsarecoming
Mini-Member


Posts: 62
Registered: 02-03


When I set the linedefs to normal, the door starts open. What should I set it to?

__________________
-*-

Old Post 02-16-03 14:48 #
thedemonsarecoming is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
thedemonsarecoming
Mini-Member


Posts: 62
Registered: 02-03


Also, can I use a script to turn off monster infighting, or does the user have to do that?

__________________
-*-

Old Post 02-16-03 14:59 #
thedemonsarecoming is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 10:54. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Monster Triggers

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory