ACE3/addons/common/functions/fnc_isAwake.sqf

21 lines
353 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
2015-09-19 20:27:23 +00:00
/*
* Author: Glowbal
* Check if unit is awake. Will be false when death or unit is unconscious.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* if unit is awake <BOOL>
*
* Example:
* [bob] call ace_common_fnc_isAwake
*
2015-09-19 20:27:23 +00:00
* Public: Yes
2015-01-16 23:21:47 +00:00
*/
2015-09-19 20:27:23 +00:00
params ["_unit"];
2015-05-14 18:06:06 +00:00
lifeState _unit in ["HEALTHY", "INJURED"]