mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Disable checking weapon temp on fakeWeapon (#5600)
This commit is contained in:
parent
a95c380dcc
commit
c8255960d6
@ -54,7 +54,7 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
class GVAR(CheckTemperature) {
|
class GVAR(CheckTemperature) {
|
||||||
displayName = CSTRING(CheckTemperatureShort);
|
displayName = CSTRING(CheckTemperatureShort);
|
||||||
condition = QUOTE( GVAR(enabled) && {switch (currentWeapon _target) do {case (''): {false}; case (primaryWeapon _target); case (handgunWeapon _target): {true}; default {false}}} );
|
condition = QUOTE( GVAR(enabled) && {switch (currentWeapon _target) do {case ('ACE_FakePrimaryWeapon'); case (''): {false}; case (primaryWeapon _target); case (handgunWeapon _target): {true}; default {false}}} );
|
||||||
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
||||||
statement = QUOTE( [ARR_3(_player, _target, currentWeapon _target)] call FUNC(checkTemperature); );
|
statement = QUOTE( [ARR_3(_player, _target, currentWeapon _target)] call FUNC(checkTemperature); );
|
||||||
icon = QUOTE(PATHTOF(UI\temp_ca.paa));
|
icon = QUOTE(PATHTOF(UI\temp_ca.paa));
|
||||||
|
Loading…
Reference in New Issue
Block a user