ACE3/addons/medical_statemachine/functions/fnc_enteredStateFatalInjury.sqf
Dedmen Miller 7a0a00ea09 Cleanup using SQFLint (#6485)
* Use private
* Fix wrong spacing
* Fix wrong variable being used
* Cleanup empty line after header
* ace_common_fnc_getCountOfItem
* Remove useless _return variable
* Naming
2018-08-02 15:02:10 +01:00

18 lines
324 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
*
* Public: No
*/
params ["_unit"];
[QEGVAR(medical,FatalInjuryInstantTransition), _unit] call CBA_fnc_localEvent;