Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
JacobJ

Trigger effect Alarm works only for one side?

Recommended Posts

Hey all

Ive tried to make a trigger, that got activated when a blufor enters it. It works all great, except that when I place a OPfor behind the Blufor and let him run into the triggerarea, I can't hear anything. How can I make the alarm sound for everyone in the audioable range of the trigger?

/Jacob

Share this post


Link to post
Share on other sites
Hey all

Ive tried to make a trigger, that got activated when a blufor enters it. It works all great, except that when I place a OPfor behind the Blufor and let him run into the triggerarea, I can't hear anything. How can I make the alarm sound for everyone in the audioable range of the trigger?

/Jacob

Actually, there are lots of ways to work it out.

For instance, you can create two triggers, among which is activated by Blufor you can write a code like

Blufor = true;

, another one which is activated by Redfor you can write

Redfor = true;

in on act bar.

The third trigger is for alarm, it'll be activated when one of the condition is met

?(Bluefor || Redfor)

Share this post


Link to post
Share on other sites

I don't I made myself clear (my english sucks bigtime, so bear with me).

When I am a blufor soldier and run into the trigger the alarm sounds.

When I am a opfor soldier and a blufor runs into the trigger, the alarm sounds by the blufor soldier, but not by me, the opfor soldier.

Its like the alarmsound only gets put out to the playerside that activates it.

It is a very bad alarm if the burgler can hear it, but the people owning the house can't..hehe

Share this post


Link to post
Share on other sites
I don't I made myself clear (my english sucks bigtime, so bear with me).

When I am a blufor soldier and run into the trigger the alarm sounds.

When I am a opfor soldier and a blufor runs into the trigger, the alarm sounds by the blufor soldier, but not by me, the opfor soldier.

Its like the alarmsound only gets put out to the playerside that activates it.

It is a very bad alarm if the burgler can hear it, but the people owning the house can't..hehe

I know your mean, you only want the alarm being activated when you enter the area or when you are being deteced by someone, whatever what happens as long as it can be activated by you, not by AI, right?

Just use F2 group line to connect you with the alarm trigger, then trigger alarming activated by vehicle.

Share this post


Link to post
Share on other sites

or you could use in the activated by "anybody" in the trigger parameter. then it will fire when anyone enters inside it.

also, i think using the sound effects in the trigger only trigger on the player (i think music and some misc ones) i think you need to use environment sound so that everyone will hear it (the sound will come from the center of the trigger

Share this post


Link to post
Share on other sites

Yes that did it. I changed it to anybody and it worked. Not really what I wanted, but this I can definetly live with. Thanks to you two!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×