ACE3/addons/medical_treatment/functions/fnc_canStitch.sqf
2019-06-22 13:36:27 -05:00

22 lines
384 B
Plaintext

#include "script_component.hpp"
/*
* Author: Katalam
* 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"];
!(GET_BANDAGED_WOUNDS(_patient) isEqualTo [])