mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix VehLock Macros
This commit is contained in:
parent
108ff4f644
commit
86b9022322
@ -3,14 +3,14 @@
|
||||
class ACE_unlockVehicle { \
|
||||
displayName = CSTRING(Action_UnLock); \
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,false)]), [_target]] call CBA_fnc_targetEvent); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,false)], [_target])] call CBA_fnc_targetEvent); \
|
||||
priority = 0.3; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
class ACE_lockVehicle { \
|
||||
displayName = CSTRING(Action_Lock); \
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,true)]), [_target]] call CBA_fnc_targetEvent); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,true)], [_target])] call CBA_fnc_targetEvent); \
|
||||
priority = 0.2; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
@ -27,7 +27,7 @@
|
||||
displayName = CSTRING(Action_UnLock); \
|
||||
distance = 4; \
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(2,3)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,false)]), [_target]] call CBA_fnc_targetEvent); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,false)], [_target])] call CBA_fnc_targetEvent); \
|
||||
priority = 0.3; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
@ -35,7 +35,7 @@
|
||||
displayName = CSTRING(Action_Lock); \
|
||||
distance = 4; \
|
||||
condition = QUOTE(([ARR_2(_player, _target)] call FUNC(hasKeyForVehicle)) && {(locked _target) in [ARR_2(0,1)]}); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,true)]), [_target]] call CBA_fnc_targetEvent); \
|
||||
statement = QUOTE([ARR_3('VehicleLock_SetVehicleLock', [ARR_2(_target,true)], [_target])] call CBA_fnc_targetEvent); \
|
||||
priority = 0.2; \
|
||||
icon = QUOTE(PATHTOF(UI\key_menuIcon_ca.paa)); \
|
||||
}; \
|
||||
|
Loading…
Reference in New Issue
Block a user