Description
Attaches a static object via its numeric ID to the given waypoint. Not to be confused with synchronizeWaypoint!
Important
- The main syntax doesn't work in Arma 3 anymore.
- The alternative syntax is (at least) available since Arma 2.
Syntax
Syntax 1
waypoint waypointAttachObject objectID
Parameters:
Returns: Nothing
Syntax 2
waypoint waypointAttachObject object
Parameters:
Returns: Nothing
Examples
Example 1
[_grp, 2] waypointAttachObject 1234;
Example 2
private _wp = group player addWaypoint [[1907.5, 5746.5, 0.00144196], 0];
_wp waypointAttachObject ((waypointPosition _wp) nearestObject 66220);