Its working, just not on the EPOCH player corpses. needs more work
This commit is contained in:
parent
43487066d7
commit
b4d8287419
@ -0,0 +1,10 @@
|
|||||||
|
class H8_fnc_attach
|
||||||
|
{
|
||||||
|
allowedTargets = 0;
|
||||||
|
jip = 0;
|
||||||
|
};
|
||||||
|
class H8_fnc_detach
|
||||||
|
{
|
||||||
|
allowedTargets = 0;
|
||||||
|
jip = 0;
|
||||||
|
};
|
@ -37,12 +37,12 @@ H8_fnc_attach = {
|
|||||||
H8_fnc_moveBody = {
|
H8_fnc_moveBody = {
|
||||||
_unit = (_this select 0);
|
_unit = (_this select 0);
|
||||||
_player = (_this select 1);
|
_player = (_this select 1);
|
||||||
diag_log "[dragBody] Debug: fnc_MoveBody";
|
|
||||||
// CREDIT TOO Das Attorney FOR CODE
|
// CREDIT TOO Das Attorney FOR CODE
|
||||||
_pos = _player modelToWorld [0,1,0];
|
_pos = _player modelToWorld [0,1,0];
|
||||||
_unit setPos _pos;
|
_unit setPos _pos;
|
||||||
_unit setDir 180;
|
_unit setDir 180;
|
||||||
_unit switchMove "AinjPpneMrunSnonWnonDb";
|
_unit switchMove "AinjPpneMrunSnonWnonDb";
|
||||||
|
//diag_log "[dragBody] Debug: fnc_MoveBody";
|
||||||
};
|
};
|
||||||
|
|
||||||
H8_dropAction = {
|
H8_dropAction = {
|
||||||
|
@ -33,7 +33,7 @@ class drag_Stuff
|
|||||||
|
|
||||||
class drag_body
|
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;";
|
action = "[dyna_cursorTarget,Epoch_personalToken] call H8_dragAction;";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\epoch_brownkey.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\epoch_brownkey.paa";
|
||||||
tooltip = "Grab Test";
|
tooltip = "Grab Test";
|
||||||
|
Loading…
Reference in New Issue
Block a user