TR_Woody

Untitled

Jul 4th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. private _resistanceCasualty = "INDFOR" call FNC_CasualtyPercentage; //Gets the casualty percentage of team "BLUFOR"
  2. private _eastCasualty = "REDFOR" call FNC_CasualtyPercentage; //Gets the casualty percentage of team "REDFOR"
  3.  
  4. if (_resistanceCasualty >= 100) exitWith {
  5.  
  6. "INDFOR FAILIURE<br />BLUFOR have been over run and all CIA operatives have been murdered!." call FNC_EndMission;
  7.  
  8. };
  9.  
  10. sleep (10); //This determines how frequently the end conditions should be checked in seconds
Add Comment
Please, Sign In to add comment