ACE3/addons/medical_statemachine/functions/fnc_conditionExecutionDeath.sqf
2018-07-30 10:22:14 +01:00

17 lines
301 B
Plaintext

#include "script_component.hpp"
/*
* Author: BaerMitUmlaut
* Condition for an execution caused death.
*
* Arguments:
* 0: The Unit <OBJECT>
*
* Return Value:
* None
*
* Public: No
*/
params ["_unit"];
(GVAR(fatalInjuryCondition) < 2) && {!(_unit getVariable [QGVAR(deathBlocked), false])}