Ignore UAV AI hitpoints

This commit is contained in:
PabstMirror 2016-12-08 15:53:52 -06:00
parent c486f17539
commit c431a7d236

View File

@ -8,6 +8,7 @@
reverse _allHitPoints;
if (_allHitPoints param [0, ""] != "ACE_HDBracket") then {
if ((getText (([_unit] call CBA_fnc_getObjectConfig) >> "simulation")) == "UAVPilot") exitWith {TRACE_1("ignore UAV AI",typeOf _unit);};
ERROR_1("Bad hitpoints for unit type ""%1""",typeOf _unit);
} else {
// Calling this function inside curly brackets allows the usage of