Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _westCasualty = "US" call FNC_CasualtyPercentage; //Gets the casualty percentage of team "USMC"
- _eastCasualty = "PLA" call FNC_CasualtyPercentage; //Gets the casualty percentage of team "VDV"
- _resistanceCasualty = "Phillipine Army" call FNC_CasualtyPercentage; //Gets the casualty percentage of team "VDV"
- if (_westCasualty >= 100) exitWith {
- "PLA DECISIVE VICTORY<br />US Forces have been eliminated." call FNC_EndMission;
- };
- if (_eastCasualty >= 80) exitWith {
- "US DECISIVE VICTORY<br />PLA has retreated due to casualties." call FNC_EndMission;
- };
- if("WEST" == "marker" call FNC_isCaptured) exitWith {
- "PLA DECISIVE VICTORY<br />US Forces have been captured." call FNC_EndMission;
- };
- sleep (60); //This determines how frequently the end conditions should be checked in seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement