Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _independantCasualty = "Chernarus National Guard" call FNC_CasualtyPercentage;
- _eastCasualty = "VDV" call FNC_CasualtyPercentage;
- capture = "obj" call FNC_isCaptured;
- if (_independantCasualty >= 75) exitWith {
- "VDV VICTORY<br />Chernarus National Guard has retreated due to casualties." call FNC_EndMission;
- };
- if (_eastCasualty >= 75) exitWith {
- "CHERNARUS NATIONAL GUARD VICTORY<br />VDV has retreated due to casualties." call FNC_EndMission;
- };
- if(capture == "RESISTANCE") exitWith {
- "CHERNARUS NATIONAL GUARD VICTORY<br />VDV has retreated due to casualties." 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