waypointAttachObject

From Bohemia Interactive Community
Revision as of 10:28, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([^<]*)<nowiki\/?>([^<]*)<\/code>" to "<code>$1$2</code>")
Jump to navigation Jump to search

{{RV|type=command

|game1= ofpe |version1= 1.00

|game2= arma1 |version2= 1.00

|game3= arma2 |version3= 1.00

|game4= arma2oa |version4= 1.50

|game5= tkoh |version5= 1.00

|game6= arma3 |version6= 0.50

|gr1= Waypoints

|descr= Attaches a static object via it is numeric ID to the given waypoint.

|s1= waypoint waypointAttachObject objectID

|p1= waypoint: Array - format Waypoint

|p2= objectID: Number

|r1= Nothing

|s2= waypoint waypointAttachObject object

|p21= waypoint: Array - format Waypoint

|p22= object: Object - static object

|r2= Nothing

|x1=

[_grp, 2] waypointAttachObject 1234;

|x2= private _wp = group player addWaypoint [[1907.5, 5746.5, 0.00144196], 0]; _wp waypointAttachObject ((waypointPosition _wp) nearestObject 66220);

|seealso= waypointAttachedObject }}