mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25b8fd6d54
* Medical AI - Add setting to require items for treatment * all ivs * invert setting * Update addons/medical_ai/stringtable.xml Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * move item hash to preStart --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
19 lines
505 B
Plaintext
19 lines
505 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
#include "initSettings.sqf"
|
|
|
|
// default time values for AI being ready to heal, used in fnc_isSafe
|
|
if (isNil QGVAR(timeSafe_shoot)) then { GVAR(timeSafe_shoot) = 30; };
|
|
if (isNil QGVAR(timeSafe_hit)) then { GVAR(timeSafe_hit) = 30; };
|
|
if (isNil QGVAR(timeSafe_suppressed)) then { GVAR(timeSafe_suppressed) = 30; };
|
|
|
|
GVAR(itemHash) = uinamespace getVariable QGVAR(itemHash);
|
|
|
|
ADDON = true;
|