{"name":"waypointAttachedVehicle","operator":null,"title":"waypointAttachedVehicle","type":"command","url":"https://community.bistudio.com/wiki/waypointAttachedVehicle","revid":377749,"updated":"2026-01-03T00:58:03Z","groups":["Waypoints"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Gets the vehicle attached to the waypoint.\n\nA vehicle can be attached to a waypoint by\n- creating the waypoint on top of the vehicle in the 2D Editor\n- using waypointAttachVehicle","syntaxes":[{"syntax":"waypointAttachedVehicle waypoint","since":null,"effect":null,"exec":null,"params":[{"name":"waypoint","type":"Waypoint","optional":false,"default":null,"description":null,"types":["Waypoint"],"since":null,"text":"waypoint: Waypoint"}],"returns":{"type":"Object","types":["Object"],"description":null,"text":"Object"},"form":"unary","operator":null,"left":null,"right":{"text":"waypoint","types":["Waypoint"]}}],"examples":[{"text":"```sqf\nwaypointAttachedVehicle [groupOne, 1];\n```","code":["waypointAttachedVehicle [groupOne, 1];"]},{"text":"```sqf\nwaypointAttachedVehicle [group player, currentWaypoint group player];\n```","code":["waypointAttachedVehicle [group player, currentWaypoint group player];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["attachObject","attachTo","attachedObjects","attachedTo","lightAttachObject","triggerAttachVehicle","attachedObject"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Waypoints","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}