Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. _type = _this select 0;
  2. _vehicle = _this select 1;
  3.  
  4.  
  5. sleep 2;
  6. hint format ["%1", _type];
  7. sleep 2;
  8. hint format ["%1", _vehicle];
  9. sleep 2;
  10.  
  11. switch (_type) do
  12. {
  13. case "bluBFV":
  14.     {
  15.         [_vehicle]spawn {
  16.             _vehicle = _this select 0;
  17. hint format ["%1", _vehicle];
  18. sleep 1;
  19.             while {true} do
  20.             {
  21.                     hint "harrison ford";
  22.  
  23.             if (_vehicle getVariable ["isKnockedOut", false]) then {
  24.                                 hint "bobba fett";
  25.  
  26.                     if (!(canMove _vehicle)) then
  27.                     {
  28.                         _vehicle setVariable ["isKnockedOut", true];
  29.                         ["sandi_blu_IFV_killed"] call CBA_fnc_globalEvent;
  30.                     };
  31.                    
  32.                 };
  33.                 sleep 0.50;
  34.             };         
  35.         };
  36.     };
  37.    
  38. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement