ACE3/addons/medical_treatment/functions/fnc_canStitch.sqf
mharis001 ec9e6c088b Medical - Only stitch wounds on not bleeding body parts (#7044)
* Only stitch wounds on not bleeding body parts
2019-09-28 21:48:19 +01:00

22 lines
405 B
Plaintext

#include "script_component.hpp"
/*
* Author: Katalam, mharis001
* Checks if the patient can be stitched.
*
* Arguments:
* 0: Medic (not used) <OBJECT>
* 1: Patient <OBJECT>
*
* ReturnValue:
* Can Stitch <BOOL>
*
* Example:
* [player, cursorTarget] call ace_medical_treatment_fnc_canStitch
*
* Public: No
*/
params ["", "_patient"];
!(_patient call FUNC(getStitchableWounds) isEqualTo [])