Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. _independantCasualty = "Chernarus National Guard" call FNC_CasualtyPercentage;
  2. _eastCasualty = "VDV" call FNC_CasualtyPercentage;
  3.  
  4. capture = "obj" call FNC_isCaptured;
  5.  
  6. if (_independantCasualty >= 75) exitWith {
  7.  
  8. "VDV VICTORY<br />Chernarus National Guard has retreated due to casualties." call FNC_EndMission;
  9.  
  10. };
  11.  
  12. if (_eastCasualty >= 75) exitWith {
  13.  
  14. "CHERNARUS NATIONAL GUARD VICTORY<br />VDV has retreated due to casualties." call FNC_EndMission;
  15.  
  16. };
  17.  
  18. if(capture == "RESISTANCE") exitWith {
  19. "CHERNARUS NATIONAL GUARD VICTORY<br />VDV has retreated due to casualties." call FNC_EndMission;
  20.  
  21. };
  22. sleep (60); //This determines how frequently the end conditions should be checked in seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement