Jump to content
Sign in to follow this  
UpRight

Casualty report

Recommended Posts

Is it possible to create some sort of casualty report after the battle? Some script which counts casualties from west and east side during the mission, and then shows the results...?

Share this post


Link to post
Share on other sites

First you need an array of the units you want to count, something like:

eastsoldiers = units officer1 + units officer2 + units officer3 + [agentX] + [guba]

Then before the mission ends, count and store the result in a global variable:

ceast = {!alive _x} count eastsoldiers

Display a hint, radio message or titletext with the result:

hint format ["Casaulties East: %1",ceast]

Wait a moment and end the mission.

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  

×