ACE3/addons/medical_ai/functions/fnc_isSafe.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

19 lines
379 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>
*
* Example:
* call ACE_medical_ai_fnc_isSafe
*
* Public: No
*/
#include "script_component.hpp"
(getSuppression _this == 0) && {CBA_missionTime - (_this getVariable [QGVAR(lastFired), -30]) > 30}