ACE3/addons/medical_statemachine/functions/fnc_enteredStateFatalInjury.sqf

21 lines
409 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2016-11-07 22:46:10 +00:00
/*
* Author: BaerMitUmlaut
* Raises the transition to the next state instantly when fatally injured.
*
* Arguments:
* 0: The Unit <OBJECT>
*
* Return Value:
* None
*
2019-03-30 16:07:54 +00:00
* Example:
* [player] call ace_medical_statemachine_fnc_enteredStateFatalInjury
*
2016-11-07 22:46:10 +00:00
* Public: No
*/
2016-11-07 22:46:10 +00:00
params ["_unit"];
[QEGVAR(medical,FatalInjuryInstantTransition), _unit] call CBA_fnc_localEvent;