ACE3/addons/medical_statemachine/functions/fnc_enteredStateFatalInjury.sqf
2019-03-30 11:07:54 -05:00

21 lines
409 B
Plaintext

#include "script_component.hpp"
/*
* Author: BaerMitUmlaut
* Raises the transition to the next state instantly when fatally injured.
*
* Arguments:
* 0: The Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player] call ace_medical_statemachine_fnc_enteredStateFatalInjury
*
* Public: No
*/
params ["_unit"];
[QEGVAR(medical,FatalInjuryInstantTransition), _unit] call CBA_fnc_localEvent;