Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgInteractionMenus
- {
- class Car
- {
- targetType = 2;
- target = "Car";
- class Actions
- {
- class ScanLock: ExileAbstractAction
- {
- title = "Scan Lock";
- condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
- action = "_this call ExileClient_object_lock_scan";
- };
- class Lock: ExileAbstractAction
- {
- title = "Lock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
- action = "true spawn ExileClient_object_lock_toggle";
- };
- class Unlock: ExileAbstractAction
- {
- title = "Unlock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "false spawn ExileClient_object_lock_toggle";
- };
- class Repair: ExileAbstractAction
- {
- title = "Repair";
- condition = "true";
- action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
- };
- class Hotwire: ExileAbstractAction
- {
- title = "Hotwire";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
- };
- class Flip: ExileAbstractAction
- {
- title = "Flip";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_flip";
- };
- class Refuel: ExileAbstractAction
- {
- title = "Refuel";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_refuel";
- };
- class DrainFuel: ExileAbstractAction
- {
- title = "Drain Fuel";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_drain";
- };
- };
- };
- class Air
- {
- target = "Air";
- targetType = 2;
- class Actions
- {
- class ScanLock: ExileAbstractAction
- {
- title = "Scan Lock";
- condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && ((locked ExileClientInteractionObject) != 1) && !ExilePlayerInSafezone";
- action = "_this call ExileClient_object_lock_scan";
- };
- class Lock: ExileAbstractAction
- {
- title = "Lock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
- action = "true spawn ExileClient_object_lock_toggle";
- };
- class Unlock: ExileAbstractAction
- {
- title = "Unlock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "false spawn ExileClient_object_lock_toggle";
- };
- class Hotwire: ExileAbstractAction
- {
- title = "Hotwire";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
- };
- class Repair: ExileAbstractAction
- {
- title = "Repair";
- condition = "true";
- action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
- };
- class Flip: ExileAbstractAction
- {
- title = "Flip";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_flip";
- };
- class Refuel: ExileAbstractAction
- {
- title = "Refuel";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_refuel";
- };
- class DrainFuel: ExileAbstractAction
- {
- title = "Drain Fuel";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_drain";
- };
- class RotateLeft: ExileAbstractAction
- {
- title = "Rotate Left";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "[ExileClientInteractionObject,-15] call ExileClient_object_vehicle_rotate";
- };
- class RotateRight: ExileAbstractAction
- {
- title = "Rotate Right";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "[ExileClientInteractionObject,15] call ExileClient_object_vehicle_rotate";
- };
- };
- };
- class Safe
- {
- targetType = 2;
- target = "Exile_Container_Safe";
- class Actions
- {
- class ScanLock: ExileAbstractAction
- {
- title = "Scan Lock";
- condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 1) && !ExilePlayerInSafezone";
- action = "_this call ExileClient_object_lock_scan";
- };
- class Lock : ExileAbstractAction
- {
- title = "Lock";
- condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
- action = "true spawn ExileClient_object_lock_toggle";
- };
- class Unlock : ExileAbstractAction
- {
- title = "Unlock";
- condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1)";
- action = "false spawn ExileClient_object_lock_toggle";
- };
- class Pack : ExileAbstractAction
- {
- title = "Pack";
- condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
- action = "_this spawn ExileClient_object_container_pack";
- };
- class SetPinCode : ExileAbstractAction
- {
- title = "Set PIN";
- condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
- action = "_this spawn ExileClient_object_lock_setPin";
- };
- };
- };
- class Laptop
- {
- targetType = 2;
- target = "Exile_Construction_Laptop_Static";
- class Actions
- {
- class CameraSystem: ExileAbstractAction
- {
- title = "CCTV Access";
- condition = "((ExileClientInteractionObject animationPhase 'LaptopLidRotation') >= 0.5)";
- action = "_this call ExileClient_gui_baseCamera_show";
- };
- class VirtualGarage: ExileAbstractAction
- {
- title = "Access Virtual Garage";
- condition = "((ExileClientInteractionObject animationPhase 'LaptopLidRotation') >= 0.5)";
- action = "call ExileClient_VirtualGarage_AccessGarage";
- };
- };
- };
- class SupplyBox
- {
- targetType = 2;
- target = "Exile_Container_SupplyBox";
- class Actions
- {
- class Mount: ExileAbstractAction
- {
- title = "Mount";
- condition = "(isNull (attachedTo ExileClientInteractionObject)) && ((ExileClientInteractionObject getvariable ['ExileOwnerUID',1]) isEqualTo 1)";
- action = "_this call ExileClient_object_supplyBox_mount";
- };
- class Install: ExileAbstractAction
- {
- title = "Install";
- condition = "isNull (attachedTo ExileClientInteractionObject) && ((ExileClientInteractionObject getvariable ['ExileOwnerUID',1]) isEqualTo 1)";
- action = "_this call ExileClient_object_supplyBox_install";
- };
- class Unmount: ExileAbstractAction
- {
- title = "Unmount";
- condition = "!(isNull (attachedTo ExileClientInteractionObject)) && ((ExileClientInteractionObject getvariable ['ExileOwnerUID',1]) isEqualTo 1)";
- action = "_this call ExileClient_object_supplyBox_unmount";
- };
- };
- };
- class Construction
- {
- targetType = 2;
- target = "Exile_Construction_Abstract_Static";
- class Actions
- {
- class ScanLock: ExileAbstractAction
- {
- title = "Scan Lock";
- condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 1)";
- action = "_this call ExileClient_object_lock_scan";
- };
- class Unlock : ExileAbstractAction
- {
- title = "Unlock";
- condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1)";
- action = "false spawn ExileClient_object_lock_toggle";
- };
- class Lock : ExileAbstractAction
- {
- title = "Lock";
- condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
- action = "true spawn ExileClient_object_lock_toggle";
- };
- class Move: ExileAbstractAction
- {
- title = "Move";
- condition = "true";
- action = "_this spawn ExileClient_object_construction_move";
- };
- class Deconstruct: ExileAbstractAction
- {
- title = "Remove";
- condition = "true";
- action = "_this spawn ExileClient_object_construction_deconstruct";
- };
- class AddALock : ExileAbstractAction
- {
- title = "Add a Lock";
- condition = "call ExileClient_object_construction_lockAddShow";
- action = "_this spawn ExileClient_object_construction_lockAdd";
- };
- class Upgrade : ExileAbstractAction
- {
- title = "Upgrade";
- condition = "call ExileClient_object_construction_upgradeShow";
- action = "_this call ExileClient_object_construction_upgrade";
- };
- class Grind : ExileAbstractAction
- {
- title = "Grind Lock";
- condition = "call ExAd_fnc_canGrindLock";
- action = "_this spawn ExAd_fnc_grindLock";
- };
- class RestoreLock : ExileAbstractAction
- {
- title = "Restore Lock";
- condition = "_object call ExAd_fnc_canRestoreLock";
- action = "_this spawn ExAd_fnc_restoreLock";
- };
- };
- };
- class Container
- {
- targetType = 2;
- target = "Exile_Container_Abstract";
- class Actions
- {
- class Pack
- {
- title = "Pack";
- condition = "!((typeOf ExileClientInteractionObject) isEqualTo 'Exile_Container_SupplyBox')";
- action = "_this spawn ExileClient_object_container_pack";
- };
- class Move: ExileAbstractAction
- {
- title = "Move";
- condition = "(getNumber(configFile >> 'CfgVehicles' >> typeOf ExileClientInteractionObject >> 'exileIsLockable') isEqualTo 0) || ((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
- action = "_this spawn ExileClient_object_construction_move";
- };
- };
- };
- class Flag
- {
- targetType = 2;
- target = "Exile_Construction_Flag_Static";
- class Actions
- {
- class Upgrade: ExileAbstractAction
- {
- title = "Upgrade";
- condition = "true";
- action = "_this call ExileClient_gui_upgradeterritoryDialog_request";
- };
- };
- };
- class Boat
- {
- targetType = 2;
- target = "Ship";
- class Actions
- {
- class Lock: ExileAbstractAction
- {
- title = "Lock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
- action = "true spawn ExileClient_object_lock_toggle";
- };
- class Unlock: ExileAbstractAction
- {
- title = "Unlock";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "false spawn ExileClient_object_lock_toggle";
- };
- class Hotwire: ExileAbstractAction
- {
- title = "Hotwire";
- condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
- action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
- };
- class Repair: ExileAbstractAction
- {
- title = "Repair";
- condition = "true";
- action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
- };
- class Refuel: ExileAbstractAction
- {
- title = "Refuel";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_refuel";
- };
- class DrainFuel: ExileAbstractAction
- {
- title = "Drain Fuel";
- condition = "call ExileClient_object_vehicle_interaction_show";
- action = "_this call ExileClient_object_vehicle_drain";
- };
- class Push: ExileAbstractAction
- {
- title = "Fus Ro Dah!";
- condition = "((crew ExileClientInteractionObject) isEqualTo [])";
- action = "_this call ExileClient_object_vehicle_push";
- };
- };
- };
- class Bikes
- {
- targetType = 2;
- target = "Bicycle";
- class Actions
- {
- class Flip: ExileAbstractAction
- {
- title = "Flip";
- condition = "true";
- action = "_this call ExileClient_object_vehicle_flip";
- };
- };
- };
- class Player
- {
- targetType = 2;
- target = "Exile_Unit_Player";
- class Actions
- {
- class Free: ExileAbstractAction
- {
- title = "Free";
- condition = "(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['ExileIsHandcuffed', false]) && !ExileClientIsHandcuffed";
- action = "_this call ExileClient_object_handcuffs_free";
- };
- class Search: ExileAbstractAction
- {
- title = "Search Gear";
- condition = "(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['ExileIsHandcuffed', false]) && !ExileClientIsHandcuffed";
- action = "_this call ExileClient_object_handcuffs_searchGear";
- };
- class Identify: ExileAbstractAction
- {
- title = "Identify Body";
- condition = "!(alive ExileClientInteractionObject)";
- action = "_this call ExileClient_object_player_identifyBody";
- };
- class Revive: ExileAbstractAction
- {
- title = "Perform CPR";
- condition = "(!(alive ExileClientInteractionObject) && (ExileClientInteractionObject getVariable ['EnigmaRevivePermitted', true]) && (magazines player find 'Exile_Item_Defibrillator' >= 0))";
- action = "_this spawn Enigma_RevivePlyr";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement