fnc_incrementStitchProgress.sqf 305 B

123456
  1. params["_origin", "_healer"];
  2. _progress = _origin getVariable["rd501_medical_ccp_stitchProgress", -1];
  3. if(_progress >= 0) then {
  4. _members = count (_origin getVariable["rd501_medical_ccp_stitchMembers", []]);
  5. _origin setVariable["rd501_medical_ccp_stitchProgress", _progress + (2.5 * _members), true];
  6. };