Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1.  
  2. _caller = _this select 0;
  3. _idall = _this select 2;
  4. if (alive _caller) then
  5. {
  6. _caller removeAction _idall;
  7.  
  8. _caller switchMove "AinvPknlMstpSlayWrflDnon_medic";
  9. sleep 1.8;
  10. _caller switchMove "amovpknlmstpsraswrfldnon_gear";
  11.  
  12. _cover1 = "Land_BagFence_Short_F" createVehicle [0,0,0];
  13. _cover2 = "Land_BagFence_Short_F" createVehicle [-2,-2,0];
  14. _cover1 setDir ((direction _caller) -180);
  15. _cover1 setPosATL (_caller modelToWorld [0,2.0,((position _caller) select 2)]);
  16. _cover2 setDir ((direction _caller) -0);
  17. _cover2 setPosATL (_caller modelToWorld [0,2.0,((position _caller) select 2)]);
  18.  
  19. //_cover1 setVehicleInit "this allowDamage true";
  20. //_cover2 setVehicleInit "this allowDamage true";
  21.  
  22. //KOMANDA ZA POSTAVLJANJE ZAKLONA
  23.  
  24. _caller addAction ["Napravi zaklon", "build\build_cover.sqf", [], -1, false, true, "", "(_target == _this)"];
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement