01-26-2017, 06:13 PM
Looking at ACE's source code, so this is guessing.
For medical facilities, it seems to work by setting ace_medical_isMedicalFacility to true via
_facility setVariable [ace_medical_isMedicalFacility, true];
For vehicles, though, I am not entirely sure. This is the code that is called by the module:
_list and _settings are both the parameter fields in the module, and I am not entirely sure what they return... Would need some more digging, sadly, no time for that right now.
For medical facilities, it seems to work by setting ace_medical_isMedicalFacility to true via
_facility setVariable [ace_medical_isMedicalFacility, true];
For vehicles, though, I am not entirely sure. This is the code that is called by the module:
Code:
if (!isNull _logic) then {
private _list = _logic getVariable ["EnableList", ""];
private _setting = _logic getVariable ["enabled", 0];
[_list, QGVAR(medicClass), _setting, true] call EFUNC(common,assignObjectsInList);
[synchronizedObjects _logic, QGVAR(medicClass), _setting, true, true] call EFUNC(common,assignObjectsInList);
};
_list and _settings are both the parameter fields in the module, and I am not entirely sure what they return... Would need some more digging, sadly, no time for that right now.
I don't need luck, I have ammo.