ACE3/addons/medical_treatment/functions/fnc_canStitch.sqf
Neviothr 75f7ed7532
Utilize isNotEqualTo (#7929)
* Utilize isNotEqualTo

* undo changes to some files

* redo some changes, fix based on @Vdauphin 's comment

* fix validator issues

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-02-27 11:05:05 -06:00

22 lines
407 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) isNotEqualTo [])