mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fee65cd56f
*Added configs for the new marksmen scopes *Introduced minor and major steps *Introcuded a new increment config (ACE_ScopeAdjust_Increment) *Changed the default zero range to 100m *Added a zero reference setting *Added an interaction menu entry to update the zero reference setting
20 lines
690 B
C++
20 lines
690 B
C++
class CfgVehicles {
|
|
class Man;
|
|
class CAManBase: Man {
|
|
class ACE_SelfActions {
|
|
class ACE_Equipment {
|
|
class GVAR(adjustZero) {
|
|
// Updates the zero reference
|
|
displayName = "$STR_ACE_Scopes_AdjustZero";
|
|
condition = QUOTE([ACE_player] call FUNC(canAdjustZero));
|
|
statement = QUOTE([ACE_player] call FUNC(adjustZero));
|
|
showDisabled = 0;
|
|
priority = 0.2;
|
|
//icon = QUOTE(PATHTOF(UI\...)); // TODO
|
|
exceptions[] = {"notOnMap", "isNotInside"};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|