mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
4aa8c8152d
[Changed] Dynamic sub menu for inventory item interaction and crafting options. (Double click item in your inventory) [Changed] Armor stat inventory feature now dynamic and no longer forced via config. [Changed] Group menu and requests are now on the self action menu.
51 lines
1.5 KiB
C++
51 lines
1.5 KiB
C++
/*
|
|
Author: Raimonds Virtoss - EpochMod.com
|
|
|
|
Contributors: Aaron Clark
|
|
|
|
Description:
|
|
Action Menu Self Config
|
|
|
|
Licence:
|
|
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
|
|
|
Github:
|
|
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp
|
|
*/
|
|
|
|
class veh_lock
|
|
{
|
|
condition = "dyna_inVehicle && !dyna_lockedInVehicle";
|
|
action = "[vehicle player, true, player, Epoch_personalToken] remoteExec ['EPOCH_server_lockVehicle',2];";
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_cannot_lock.paa";
|
|
tooltip = "Lock";
|
|
};
|
|
class veh_unLock
|
|
{
|
|
condition = "dyna_inVehicle && dyna_lockedInVehicle";
|
|
action = "[vehicle player, false, player, Epoch_personalToken] remoteExec ['EPOCH_server_lockVehicle',2];";
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\pad_can_unlock.paa";
|
|
tooltip = "Unlock";
|
|
};
|
|
class player_inspect
|
|
{
|
|
condition = "true";
|
|
action = "call EPOCH_lootTrash;";
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\player_inspect.paa";
|
|
tooltip = "Examine";
|
|
};
|
|
class player_group_menu
|
|
{
|
|
condition = "true";
|
|
action = "call EPOCH_Inventory_Group;";
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_menu_ca.paa";
|
|
tooltip = "Group Menu";
|
|
};
|
|
class player_group_requests
|
|
{
|
|
condition = "!(Epoch_invited_GroupUIDs isEqualTo[])";
|
|
action = "call EPOCH_Inventory_iGroup;";
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\group_requests_ca.paa";
|
|
tooltip = "Group Requests";
|
|
};
|