Jump to content
Sign in to follow this  
HeroesandvillainsOS

Mission complete state when all !alive killed

Recommended Posts

I have a mission set up with 4 objectives which all involve destroying an object or killing a target using !alive objectname

How do I set up a mission complete state when the four objects are "dead?"

If it matters I have task assigned and task completed modules synced to triggers, one for each objective.

Any help would be appreciated. Sorry, I'm still getting my feet wet with making simple missions and the concepts still overwhelm me a bit. The mission is pretty much done I just don't know how to properly end it.

Share this post


Link to post
Share on other sites


condition: !alive unit1 && !alive unit2 && !alive unit3 && !alive unit4

on activation: ["end1",true,3] call BIS_fnc_endMission; 

  • Like 1

Share this post


Link to post
Share on other sites
condition: !alive unit1 && !alive unit2 && !alive unit3 && !alive unit4 

on activation: ["end1",true,3] call BIS_fnc_endMission; 

Im 99% sure this is added to a trigger.

 

I think you can skip the on activation step and just set the type of trigger to end. 

Share this post


Link to post
Share on other sites

Im 99% sure this is added to a trigger.

 

I think you can skip the on activation step and just set the type of trigger to end. 

 

While that's true, please bear in mind this note from the Biki with regards to BIS_fnc_endMission:

 

This should always be used instead of the simple end1-end_n endings one can set on trigger activation.  Otherwise singleplayer scenarios will not properly be marked as played/ ended in Arma 3 and on Steam!

  • Like 1

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  

×