ACE3/addons/medical_ai/functions/fnc_isSafe.sqf

16 lines
330 B
Plaintext
Raw Normal View History

/*
* Author: BaerMitUmlaut
* Checks if a unit is currently considered safe enough to treat itself.
*
* Arguments:
* None
*
* Return Value:
* Is unit safe enough <BOOL>
*
* Public: No
*/
#include "script_component.hpp"
(getSuppression _this == 0) && {CBA_missionTime - (_this getVariable [QGVAR(lastFired), -30]) > 30}