ziptlytical 6 Posted December 28, 2020 How do i end a mission when the officer is not alive via trigger player walking into the trigger zone? Officer name is officer1 is it something like this? if (!alive officer1) thanks Share this post Link to post Share on other sites
Play3r 143 Posted December 28, 2020 ConD : !alive officer1 then set the trigger up for END game, then the game will end when officer1 is killed. 1 Share this post Link to post Share on other sites
Gunter Severloh 3942 Posted December 28, 2020 I have a video tutorial actually demonstrating this against multiple units, and an ammo cache, while at the same time connecting each to a task, and then ending the mission, check it out: As for the part where the player walks into the trigger and the officer is killed, set the trigger to player present then in the condition would be !alive officer1 Ending the mission can be done using the ends in the trigger, or adding [ ] call bis_fnc_endmission; to the on activation box of the trigger. Video above is for individual units/ammo cache, one below is for area trigger. So you can have tasks if you want, either way with or without tasks this is just one of many ways to do it. Hope that helps. Cheers! 3 Share this post Link to post Share on other sites
ziptlytical 6 Posted December 28, 2020 Hey guys it works but doesnt work. trigger size: A: 3 B: 3 Activation: AnyPlayer Present condition: !alive officer1 On activation: "end1" call BIS_fnc_endMission; the mission ends after i kill the officer even if the player is not in the trigger zone. Want it to end after officer is killed when the player enters the trigger zone. Share this post Link to post Share on other sites
Schatten 254 Posted December 28, 2020 @ziptlytical, try this condition: this and { !(alive officer1) } 1 Share this post Link to post Share on other sites
ziptlytical 6 Posted December 28, 2020 very nice it works thanks Share this post Link to post Share on other sites
Play3r 143 Posted December 28, 2020 47 minutes ago, ziptlytical said: Hey guys it works but doesnt work. trigger size: A: 3 B: 3 Activation: AnyPlayer Present condition: !alive officer1 On activation: "end1" call BIS_fnc_endMission; the mission ends after i kill the officer even if the player is not in the trigger zone. Want it to end after officer is killed when the player enters the trigger zone. Did not understand that you wanted it to end when the officer was dead and you had to go to a trigger. My bad.. but then @Schatten post is the best solution. Share this post Link to post Share on other sites
ziptlytical 6 Posted December 30, 2020 On 12/28/2020 at 9:27 AM, Play3r said: Did not understand that you wanted it to end when the officer was dead and you had to go to a trigger. My bad.. but then @Schatten post is the best solution. No worries, as long as we got it to work that's all that mattered. check out my mission i made using this. i plan to do more of these. https://steamcommunity.com/sharedfiles/filedetails/?id=2340697663 Share this post Link to post Share on other sites