Arma 3
Slafey Jan 23, 2017 @ 6:06am
How to trigger a win.
Im trying to make it so if you kill all of the opposite team you win. How do i do that?
< >
Showing 1-7 of 7 comments
Fenris 89 Jan 24, 2017 @ 10:30am 
1. place a player unit and a trigger ( for the example, the player is BlueFor)
2. in the trigger:

Bluefor
present

Con.: !alive TargetName1 && !alive TargetName2
On Act: ["Mission Complete",false,2] call BIS_fnc_endMission;

Replace TargetName 1 and TargetName2 with the names form Opfor units!

I didnt know now if you have to sync the player unit with trigger!

Last edited by Fenris 89; Jan 24, 2017 @ 10:47am
Slafey Jan 24, 2017 @ 12:14pm 
Does this work with for instance 6 hostiles?
Fenris 89 Jan 25, 2017 @ 3:43am 
I think it should work! You must give all 6 a name!

!alive Name1 && !alive Name2 && !alive Name3 && !alive Name4 && !alive Name5 && !alive Name6
Slafey Jan 25, 2017 @ 6:40am 
thanks
Slafey Jan 25, 2017 @ 7:17am 
Doesn't work for some reason.
Fenris 89 Jan 25, 2017 @ 8:15am 
I had test it self now and i get every time "Misson Failed"! I had found whats wrong, you must change the false to true than is the mission is Complete when the target dies!

Trigger:

Activation: BlueFor
Activation typ: present
con: !alive TargetName1 && !alive TargetName2
On Act: ["Mission Complete",True,2] call BIS_fnc_endMission;

If you want that the mission end when you arrives a trigger use this:

1. place a player and a trigger
2. group player with trigger, if it dosent work to group select the option "Set player as trigger owner"

trigger:

Activation: Whole Group or owner
Con.: this && !alive TargetName
On Act: ["Mission Complete",True,2] call BIS_fnc_endMission;




Slafey Jan 25, 2017 @ 8:25am 
thanks
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Jan 23, 2017 @ 6:06am
Posts: 7