Its working, just not on the EPOCH player corpses. needs more work

This commit is contained in:
Zepheris 2020-02-23 22:08:46 -07:00
parent 43487066d7
commit b4d8287419
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,10 @@
class H8_fnc_attach
{
allowedTargets = 0;
jip = 0;
};
class H8_fnc_detach
{
allowedTargets = 0;
jip = 0;
};

View File

@ -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 = {

View File

@ -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";