private ["_tug","_disabled","_trailer"]; _tug = _this select 0; _disabled = _tug getVariable "LOG_disabled"; if (isNil "_disabled") then{_tug setVariable ["LOG_disabled",false];}; _trailer = _tug getVariable "LOG_trailer"; if (isNil "_trailer") then{ _tug setVariable ["LOG_trailer",objNull,false];}; _tug addAction [("" + STR_LOG_UNTOW + ""), "logistic\tow\detach.sqf",[],0,true,true,"","LOG_OBJECT_ADDACTION == _target && LOG_TRAILER_MOVE_VALID"]; _tug addAction [("" + STR_LOG_TUG_SELECT + ""), "logistic\tow\attach.sqf",[],0,true,true,"","LOG_OBJECT_ADDACTION == _target && LOG_TRAILER_SELECT_VALID"];