magna.sqf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. params[
  2. ["_unit",objNull ,[player]]
  3. ];
  4. if(isNull _unit) exitWith {
  5. };
  6. _unit setSkill 1;
  7. _unit setAnimSpeedCoef 1.85;
  8. _unit setvariable ["ace_medical_unitDamageThreshold", [80,100,100], 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. _unit addItem "swop_nvchipclean";
  21. _unit assignItem "swop_nvchipclean";
  22. _unit addItemToUniform "SWOP_termDet_G";
  23. for [{_i=0}, {_i<(5)}, {_i=_i+1}] do
  24. {
  25. _unit addItemToUniform "ACE_tourniquet";
  26. _unit addItemToUniform "ACE_quikclot";
  27. _unit addItemToUniform "ACE_CableTie";
  28. _unit addItemToUniform "ACE_fieldDressing";
  29. };
  30. for [{_i=0}, {_i<2}, {_i=_i+1}] do
  31. {
  32. _unit addItemToUniform "ACE_epinephrine";
  33. _unit addItemToUniform "ACE_morphine";
  34. _unit addItemToUniform "SWOP_E5M_unit";
  35. };