ig88.sqf 932 B

12345678910111213141516171819202122232425262728293031323334353637
  1. params[
  2. ["_unit",objNull ,[player]]
  3. ];
  4. if(isNull _unit) exitWith {
  5. };
  6. _unit setSkill 1;
  7. _unit setAnimSpeedCoef 1.45;
  8. _unit setvariable ["ace_medical_unitDamageThreshold", [64,81,81], true]; //*Zatama 15.06.18
  9. _unit setUnitAbility 100;
  10. _unit setskill ["aimingAccuracy",1];
  11. _unit setskill ["aimingShake",1];
  12. _unit setskill ["aimingSpeed",1];
  13. _unit setskill ["spotDistance",1];
  14. _unit setUnitRecoilCoefficient 0;
  15. _unit setskill ["spotTime",1];
  16. _unit setskill ["courage",1];
  17. _unit setskill ["reloadSpeed",1];
  18. _unit setunitpos "auto"; //Zatama 15/06/18
  19. _unit setSkill ["general", 1];
  20. for [{_i=0}, {_i<(5)}, {_i=_i+1}] do
  21. {
  22. _unit addItemToUniform "ACE_tourniquet";
  23. _unit addItemToUniform "ACE_quikclot";
  24. _unit addItemToUniform "ACE_CableTie";
  25. _unit addItemToUniform "ACE_fieldDressing";
  26. };
  27. for [{_i=0}, {_i<2}, {_i=_i+1}] do
  28. {
  29. _unit addItemToUniform "ACE_epinephrine";
  30. _unit addItemToUniform "ACE_morphine";
  31. };