setWPPos

From Bohemia Interactive Community
Revision as of 00:13, 14 May 2023 by Lou Montana (talk | contribs) (Text replacement - ">Posted on November ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-$1")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets waypoint position

This command is identical to setWaypointPosition [pos, -1] (see command description for more info)
Groups:
Waypoints

Syntax

Syntax:
waypoint setWPPos pos
Parameters:
waypoint: Array - format Waypoint
pos: Array - format PositionAGL
Return Value:
Nothing

Examples

Example 1:
[_groupOne, 1] setWPPos markerPos "MarkerOne";

Additional Information

See also:
deleteWaypoint copyWaypoints setCurrentWaypoint setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointFormation setWaypointHousePosition setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible waypointAttachVehicle waypointAttachedVehicle setWaypointLoiterRadius waypointLoiterRadius addWaypoint setWaypointLoiterType waypoints waypointSpeed

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


Posted on 2018-11-15 - 14:27 (UTC)
killzone_kid
Even though this command can accept Position2D, it is better to always explicitly state the elevation of waypoint by providing PositionAGL