waypointAttachObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
||
Line 9: | Line 9: | ||
| Attaches a static object via it is numeric ID to the given waypoint. | | Attaches a static object via it is numeric ID to the given waypoint. | ||
{{ | {{Feature|important| | ||
* The [[#Syntax|main syntax]] doesn't work in {{arma3}} anymore. | * The [[#Syntax|main syntax]] doesn't work in {{arma3}} anymore. | ||
* The [[#Alternative_Syntax|alternative syntax]] is (at least) available since {{arma2}}. | * The [[#Alternative_Syntax|alternative syntax]] is (at least) available since {{arma2}}. |
Revision as of 02:12, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- Waypoints
Syntax
- Syntax:
- Syntax needed
- Parameters:
- waypoint: Array - format Waypoint
- objectID: Number
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- waypoint waypointAttachObject object
- Parameters:
- waypoint: Array - format Waypoint
- object: Object - static object
- Return Value:
- 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);
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note