diff --git a/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_CfgRemoteExec.hpp b/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_CfgRemoteExec.hpp new file mode 100644 index 0000000..ab3f0e7 --- /dev/null +++ b/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_CfgRemoteExec.hpp @@ -0,0 +1,10 @@ +class H8_fnc_attach +{ + allowedTargets = 0; + jip = 0; +}; +class H8_fnc_detach +{ + allowedTargets = 0; + jip = 0; +}; diff --git a/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_dragBody.sqf b/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_dragBody.sqf index 4ee3a22..c27a32c 100644 --- a/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_dragBody.sqf +++ b/Server/mpmissions/epoch.Bornholm/addons/drag_body/H8_dragBody.sqf @@ -37,12 +37,12 @@ H8_fnc_attach = { H8_fnc_moveBody = { _unit = (_this select 0); _player = (_this select 1); - diag_log "[dragBody] Debug: fnc_MoveBody"; // CREDIT TOO Das Attorney FOR CODE _pos = _player modelToWorld [0,1,0]; _unit setPos _pos; _unit setDir 180; _unit switchMove "AinjPpneMrunSnonWnonDb"; + //diag_log "[dragBody] Debug: fnc_MoveBody"; }; H8_dropAction = { diff --git a/Server/mpmissions/epoch.Bornholm/epoch_config/Configs/CfgActionMenu/CfgActionMenu_target.hpp b/Server/mpmissions/epoch.Bornholm/epoch_config/Configs/CfgActionMenu/CfgActionMenu_target.hpp index 2156293..55cb30d 100644 --- a/Server/mpmissions/epoch.Bornholm/epoch_config/Configs/CfgActionMenu/CfgActionMenu_target.hpp +++ b/Server/mpmissions/epoch.Bornholm/epoch_config/Configs/CfgActionMenu/CfgActionMenu_target.hpp @@ -33,7 +33,7 @@ class drag_Stuff class drag_body { - condition = "true"; + condition = "if (!(isNull dyna_cursorTarget) && !(alive dyna_cursorTarget)) then {true} else {false}"; action = "[dyna_cursorTarget,Epoch_personalToken] call H8_dragAction;"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\epoch_brownkey.paa"; tooltip = "Grab Test";