mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ec9e6c088b
* Only stitch wounds on not bleeding body parts
22 lines
405 B
Plaintext
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 [])
|