ACE3/addons/trenches/functions/fnc_handleUnconscious.sqf

25 lines
379 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
/*
* Author: commy2
* Handle unconsciousness.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [bob] call ace_trenches_fnc_handleUnconscious
*
* Public: No
*/
params ["_unit"];
if (!local _unit) exitWith {};
2016-02-04 20:42:12 +00:00
if (_unit getVariable [QGVAR(isPlacing), false]) then {
[_unit] call FUNC(placeCancel);
};