mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
52 lines
1.8 KiB
C++
52 lines
1.8 KiB
C++
class CfgVehicles {
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_SelfActions {
|
|
class ACE_CheckAirTemperature {
|
|
displayName = CSTRING(CheckAirTemperature);
|
|
condition = QUOTE(GVAR(enabled) && GVAR(showCheckAirTemperature));
|
|
exceptions[] = {"isNotInside", "isNotSitting"};
|
|
statement = QUOTE([ACE_player] call FUNC(getApproximateAirTemp));
|
|
icon = QPATHTOF(UI\temp_ca.paa);
|
|
};
|
|
};
|
|
};
|
|
|
|
class ACE_Module;
|
|
class GVAR(ModuleSettings): ACE_Module {
|
|
scope = 1;
|
|
displayName = CSTRING(Module_DisplayName);
|
|
icon = QPATHTOF(UI\Icon_Module_Wind_ca.paa);
|
|
category = "ACE";
|
|
function = QUOTE(DFUNC(initModuleSettings));
|
|
functionPriority = 1;
|
|
isGlobal = 1;
|
|
isSingular = 1;
|
|
isTriggerActivated = 0;
|
|
author = ECSTRING(common,ACETeam);
|
|
class Arguments {
|
|
class enabled {
|
|
displayName = CSTRING(enabled_DisplayName);
|
|
description = CSTRING(enabled_Description);
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
class updateInterval {
|
|
displayName = CSTRING(updateInterval_DisplayName);
|
|
description = CSTRING(updateInterval_Description);
|
|
typeName = "NUMBER";
|
|
defaultValue = 60;
|
|
};
|
|
class windSimulation {
|
|
displayName = CSTRING(windSimulation_DisplayName);
|
|
description = CSTRING(windSimulation_Description);
|
|
typeName = "BOOL";
|
|
defaultValue = 1;
|
|
};
|
|
};
|
|
class ModuleDescription {
|
|
description = CSTRING(Module_Description);
|
|
};
|
|
};
|
|
};
|