ACE3/addons/weather/CfgVehicles.hpp

52 lines
1.8 KiB
C++
Raw Permalink Normal View History

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);
2016-04-08 18:34:50 +00:00
icon = QPATHTOF(UI\Icon_Module_Wind_ca.paa);
category = "ACE";
function = QUOTE(DFUNC(initModuleSettings));
functionPriority = 1;
isGlobal = 1;
isSingular = 1;
isTriggerActivated = 0;
2015-05-27 20:04:41 +00:00
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);
};
};
};