mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add PlasticCase OpenBox interaction (#8605)
This commit is contained in:
parent
ff3e0a48df
commit
7b32edff09
@ -643,6 +643,26 @@ class CfgVehicles {
|
||||
};
|
||||
class ACE_SelfActions {};
|
||||
};
|
||||
|
||||
class PlasticCase_01_base_F: ThingX {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
displayName = CSTRING(MainAction);
|
||||
selection = "";
|
||||
distance = 2;
|
||||
condition = "true";
|
||||
class ACE_OpenBox {
|
||||
displayName = CSTRING(OpenBox);
|
||||
condition = QUOTE(alive _target && {!lockedInventory _target} && {getNumber (configOf _target >> 'disableInventory') == 0});
|
||||
statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]);
|
||||
showDisabled = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
class ACE_SelfActions {};
|
||||
};
|
||||
|
||||
|
||||
class Slingload_base_F: ReammoBox_F {};
|
||||
class Slingload_01_Base_F: Slingload_base_F {
|
||||
class ACE_Actions: ACE_Actions {
|
||||
|
Loading…
Reference in New Issue
Block a user