Description
Gets the vehicle attached to the waypoint.
A vehicle can be attached to a waypoint by
- creating the waypoint on top of the vehicle in the 2D Editor
- using waypointAttachVehicle
Syntax
waypointAttachedVehicle waypoint
Parameters:
waypoint: Waypoint
Returns: Object
Examples
Example 1
waypointAttachedVehicle [groupOne, 1];
Example 2
waypointAttachedVehicle [group player, currentWaypoint group player];
See also
attachObject · attachTo · attachedObjects · attachedTo · lightAttachObject · triggerAttachVehicle · attachedObject