fnc_incrementBandageProgress.sqf 277 B

123456
  1. params["_origin", "_healer"];
  2. _progress = _origin getVariable["rd501_medical_ccp_bandageProgress", -1];
  3. systemChat format["Incrementing %1 --- %2", _this, _progress];
  4. if(_progress >= 0) then {
  5. _origin setVariable["rd501_medical_ccp_bandageProgress", _progress + 2.5, true];
  6. };