Jump to content
Sign in to follow this  
becario

Making a trigger deactivate when another trigger activates

Recommended Posts

I have a prisoner exchange mission in which I want my people not to shoot the opfor until the prisoners are exchanged.

In the area there will be a group of opfor guarding some blufor prisoners, and they will not shoot until a "trigger1" activates. how can i make a "end mission" trigger that works just until that "trigger1" activates, and then it doesn't work anymore?

Edited by becario
Adding question mark

Share this post


Link to post
Share on other sites
I have a prisoner exchange mission in which I want my people not to shoot the opfor until the prisoners are exchanged.

In the area there will be a group of opfor guarding some blufor prisoners, and they will not shoot until a "trigger1" activates. how can i make a "end mission" trigger that works just until that "trigger1" activates, and then it doesn't work anymore?

How do you have the OPFOR "friendly" to BLUFOR, if your using setCaptive (as Iceman has put down):

Trigger Condition:

triggerActivated trigger1;

Trigger onAct:

{ _x setCaptive false; } forEach allUnits;//<<can limit this to just a side/group depending

Share this post


Link to post
Share on other sites

If you put in "end mission" trigger condition:

this && !triggerActivated trigger1

If trigger1 is activated the statement will return false and "end mission" trigger will not activate. I suggest to add trigger1 before "end mission" trigger (order of triggers)

Share this post


Link to post
Share on other sites
How do you have the OPFOR "friendly" to BLUFOR, if your using setCaptive (as Iceman has put down):

I have a waypoint with hold fire, since I need the blufor to be able to shoot, and opfor will shoot after trigger1 is activated.

setcaptive would not work in this case, as I'm using AGM mod.

I'm trying killzone_kid condition.

and... it worked! thank you very much. now my prisoner exchange mission will work perfectly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×