mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
362 B
Plaintext
25 lines
362 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Check if is bleeding
|
|
*
|
|
* Arguments:
|
|
* 0: unit <TYPE>
|
|
*
|
|
* Return Value:
|
|
* is Bleeding <BOOL>
|
|
*
|
|
* Example:
|
|
* [UNIT] call ace_medical_blood_fnc_isBleeding
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_unit"];
|
|
|
|
if (GVAR(useAceMedical)) exitWith {
|
|
IS_BLEEDING(_unit)
|
|
};
|
|
|
|
alive _unit && {getDammage _unit > 0.3}
|