Page tree
Skip to end of metadata
Go to start of metadata

Introduced in



Description: Returns a list of available (not locked) towing points on a given vehicle and its trailers.


Syntax: [vehicle] call fn_tow_getAvailableTowPoints
  • vehicle: Object - Vehicle or its trailer for which the towing points are returned.
Return Value: allConnections: Array - [ towPoint1, ..., towPointN ] - All rope connections:
  • connectionN: Array - [vehicle, towPoint] - Object reference and memory point name:
    • vehicle: Object - Object that is the memory point owner.
    • towPoint: String - Memory point name.


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: Get available towing points of vehicle1 and its trailers:
vehicle1Connections = [vehicle1] call fn_tow_getAvailableTowPoints

Additional Information

See also: fn tow towParent, fn tow towChild, fn tow canTow, fn tow canHitch, fn tow startTow, fn tow startHitch, fn tow startRopeTow, fn tow stopTow, fn tow stopHitch, fn tow stopRopeTow, fn tow getRopeTowConnections, fn tow setPointLocked
Multiplayer:Can be applied to remote objects, the locality of the arguments does not matter.