_carrier	= _this select 0
_cargo		= _this select 1

_cargo switchmove "Hanged"

RemoveAllWeapons _cargo

endHanging = false

goto debug

#Hang

_x = (getPos _carrier) select 0
_y = (getPos _carrier) select 1
_z = (getPos _carrier) select 2

_cargo setPos [_x - 1, _y - 0.9, _z]
_cargo setDir (getDir _carrier)

~.01

? (!endHanging) : goto "Hang"

exit
