|Description:||Determines if a given child object can be hitched to a given parent object.|
|Syntax:||[parent, child] call fn_tow_canHitch|
|Return Value:||Boolean - Returns true if can be hitched, false if cannot.|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
|Examples:||Check if tractor can hitch trailer using towbar:
[tractor, trailer] call fn_tow_canHitch
|See also:||fn tow towParent, fn tow towChild, fn tow canTow, fn tow startTow, fn tow startHitch, fn tow startRopeTow, fn tow stopTow, fn tow stopHitch, fn tow stopRopeTow, fn tow getRopeTowConnections, fn tow getAvailableTowPoints, fn tow setPointLocked|
|Multiplayer:||Can be applied to remote objects, the locality of the arguments does not matter.|