ACE3/addons/medical_ai/functions/fnc_isSafe.sqf
2018-01-17 03:36:10 -08:00

16 lines
330 B
Plaintext

/*
* 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}