Re: Opening doors by killing enemies
Posted by Carcase on
Sun May 23rd 2004 at 8:17pm
Carcase
member
145 posts
15 snarkmarks
Registered:
Nov 15th 2003
Location: Northern Virginia
I'm making a map for sven coop, and i want a door to open after i kill 3 headcrabs. How do i do that?
Re: Opening doors by killing enemies
Posted by omegaslayer on
Sun May 23rd 2004 at 8:45pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
I think it has something to do with a the headcrab's option of "trigger when killed" (or something like this) targeting multisource which in turn activates the door you want to open. Gollum will know the answer.
Well ill just put this as an answer :biggrin: in hopes of solving one's enigma.
Re: Opening doors by killing enemies
Posted by Gollum on
Sun May 23rd 2004 at 8:52pm
Gollum
member
1268 posts
525 snarkmarks
Registered:
Oct 26th 2001
Occupation: Student
Location: Oxford, England
I've never used this, but a peek at monster_xxx properties suggests that you use the "trigger target" and "trigger condition" keys. For each headcrab, point "trigger target" to a trigger_counter (set to 3 counts) and select "death" as the trigger condition.
The trigger_counter then targets the master entity of the door (that is, a global or multisource or something like this). The master changes state to "on", which allows the door to open.
Re: Opening doors by killing enemies
Posted by omegaslayer on
Sun May 23rd 2004 at 9:09pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
There gollum is the master at this stuff, that is what I was trying to say. :biggrin:
Re: Opening doors by killing enemies
Posted by Leperous on
Sun May 23rd 2004 at 9:32pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
Or a good old multisource setup should suffice! :smile:
Re: Opening doors by killing enemies
Posted by Carcase on
Sun May 23rd 2004 at 11:55pm
Posted
2004-05-23 11:55pm
Carcase
member
145 posts
15 snarkmarks
Registered:
Nov 15th 2003
Location: Northern Virginia
heh, ok ok i should have just looked a little harder. Yeah its the trigger death things.
Re: Opening doors by killing enemies
Posted by Lord Emperor on
Sat May 29th 2004 at 5:18pm
2 posts
0 snarkmarks
Registered:
May 29th 2004
Well, multisource will do it if there are 3 crabs to kill. If trere are, say 5 crabs and you want to open the door when any 3 of them are dead you have to use a counter.