Jump to content
Sign in to follow this  
SnakeEyes15

End game parameters help needed

Recommended Posts

So, I created a search n destroy style map, but with 3 teams. I have the trigger in-place to end game when the obj is destroyed. Curious how to set an end game/mission parameter for when all members of any 2 teams dies.

The simple trigger > faction name > not present = end#1 will not suffice.

Any help would be appreciated.

Share this post


Link to post
Share on other sites
if ( ({(side _x) == east} count allUnits) == 0 ) then {hint "no east units is alive";};

Share this post


Link to post
Share on other sites
if ( ({(side _x) == east} count allUnits) == 0 ) then {hint "no east units is alive";};

can I put 2 of those codes in the 1 trigger? for example, 1 for blufor and 1 for opfor, so when all blufor and opfor forces are dead the game ends?

I messed around with it to no avail.

Share this post


Link to post
Share on other sites

In your trigger:

Condition

{(side _x) == east} count allUnits == 0

Then under Type select end #1

Just change east to west.

Edited by cobra4v320

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  

×