ACE3/addons/markers/CfgVehicles.hpp
Christian Klemm 22b4788891 added movable markers option (#5397)
* added movable markers option

* added restrictions

* added local events

* formatting + small fixes

* Events for start and end modified + small adjusts

* minor fixes

* lazy eval

* Alt as modifier key

* Update XEH_postInit.sqf

* Skip UI EH on headless
2017-09-07 19:26:32 +02:00

49 lines
1.8 KiB
C++

class CfgVehicles {
class ACE_Module;
class ACE_ModuleMarkers: ACE_Module {
author = ECSTRING(common,ACETeam);
category = "ACE";
displayName = CSTRING(Module_DisplayName);
function = QFUNC(initModule);
scope = 2;
isGlobal = 1;
isSingular = 1;
icon = QPATHTOF(UI\Icon_Module_Markers_ca.paa);
class Arguments {
class MovableMarkersEnabled {
displayName = CSTRING(MovableMarkers_DisplayName);
description = CSTRING(MovableMarkers_Description);
typeName = "BOOL";
defaultValue = 0;
};
class MoveRestriction {
displayName = CSTRING(MoveRestriction_DisplayName);
description = CSTRING(MoveRestriction_Description);
typeName = "NUMBER";
class values {
class all {
name = CSTRING(MoveRestriction_All);
value = MOVE_RESTRICTION_ALL;
default = MOVE_RESTRICTION_ALL;
};
class admins {
name = CSTRING(MoveRestriction_Admins);
value = MOVE_RESTRICTION_ADMINS;
};
class groupLeaders {
name = CSTRING(MoveRestriction_GroupLeaders);
value = MOVE_RESTRICTION_GROUP_LEADERS;
};
class groupLeadersAndAdmins {
name = CSTRING(MoveRestriction_GroupLeadersAndAdmins);
value = MOVE_RESTRICTION_GROUP_LEADERS_ADMINS;
};
};
};
};
class ModuleDescription {
description = CSTRING(Module_Description);
};
};
};