mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rangecard - All use inside vehicles via interaction menu (#8310)
This commit is contained in:
parent
1b43cd6951
commit
75934f883c
@ -20,14 +20,14 @@ class CfgVehicles {
|
|||||||
statement = QUOTE(false call FUNC(openRangeCard));
|
statement = QUOTE(false call FUNC(openRangeCard));
|
||||||
showDisabled = 0;
|
showDisabled = 0;
|
||||||
icon = QPATHTOF(UI\RangeCard_Icon.paa);
|
icon = QPATHTOF(UI\RangeCard_Icon.paa);
|
||||||
exceptions[] = {"notOnMap"};
|
exceptions[] = {"notOnMap", "isNotInside"};
|
||||||
class GVAR(openCopy) {
|
class GVAR(openCopy) {
|
||||||
displayName = CSTRING(OpenRangeCardCopy);
|
displayName = CSTRING(OpenRangeCardCopy);
|
||||||
condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened));
|
condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened));
|
||||||
statement = QUOTE(true call FUNC(openRangeCard));
|
statement = QUOTE(true call FUNC(openRangeCard));
|
||||||
showDisabled = 0;
|
showDisabled = 0;
|
||||||
icon = QPATHTOF(UI\RangeCard_Icon.paa);
|
icon = QPATHTOF(UI\RangeCard_Icon.paa);
|
||||||
exceptions[] = {"notOnMap"};
|
exceptions[] = {"notOnMap", "isNotInside"};
|
||||||
};
|
};
|
||||||
class GVAR(makeCopy) {
|
class GVAR(makeCopy) {
|
||||||
displayName = CSTRING(CopyRangeCard);
|
displayName = CSTRING(CopyRangeCard);
|
||||||
@ -35,7 +35,7 @@ class CfgVehicles {
|
|||||||
statement = QUOTE(GVAR(zeroRangeCopy)=GVAR(zeroRange); GVAR(boreHeightCopy)=GVAR(boreHeight); GVAR(ammoClassCopy)=GVAR(ammoClass); GVAR(magazineClassCopy)=GVAR(magazineClass); GVAR(weaponClassCopy)=GVAR(weaponClass););
|
statement = QUOTE(GVAR(zeroRangeCopy)=GVAR(zeroRange); GVAR(boreHeightCopy)=GVAR(boreHeight); GVAR(ammoClassCopy)=GVAR(ammoClass); GVAR(magazineClassCopy)=GVAR(magazineClass); GVAR(weaponClassCopy)=GVAR(weaponClass););
|
||||||
showDisabled = 0;
|
showDisabled = 0;
|
||||||
icon = QPATHTOF(UI\RangeCard_Icon.paa);
|
icon = QPATHTOF(UI\RangeCard_Icon.paa);
|
||||||
exceptions[] = {"notOnMap"};
|
exceptions[] = {"notOnMap", "isNotInside"};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user