|
|
|
|
#1 |
![]() Join Date: May 2012
Reputation: 0
Posts: 16
|
Triggering Car Alarm
I was just wondering if there was a way to have a trigger_once activate a car alarm. I tried having the trigger's output "wake" the car alarm but It doesn't seem to work. Any thoughts/ideas on how to make this work right?
Thanks! |
|
|
|
|
|
#2 |
![]() Join Date: Oct 2008
Reputation: 16
Posts: 139
|
You assume 'car alarm' is some kind of entity?
I have never heard of it, how can you activate it if it doesn't exist? Correct me if I'm wrong. Anyway, just make an ambient_generic, find a car alarm sound or make a custom one, make sure you have the right flags checked (ensure it loops and doesn't begin before it is triggered). Name it. Then make a trigger_once and in the outputs: onTrigger > nameOfAmbient_generic > play sound |
|
|
|
|
|
#3 |
![]() Join Date: Jan 2005
Reputation: 323
Posts: 5,223
|
Here's an example for you how to have 3 different car alarms on a single map. http://server2.pelipurkki.fi/~dustin...AUTO_TESTI.vmf
Each time the trigger is passed, the director will pick one of the cars. I used this on my campaign so i know it works. |
|
|
|
|
|
#4 | |
![]() Join Date: Aug 2011
Reputation: 60
Posts: 1,125
|
Quote:
you can even do that without the director. just a trigger with a logic_case that randomly picks a logic_relay to run a sound and other events.
|
|
|
|
|
|
|
#5 |
![]() Join Date: Oct 2008
Reputation: 16
Posts: 139
|
Oh I see, l4d! Next time put that in the info or you will confuse people like me!
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|