setWPPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - ">Posted on November ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-$1")
Line 45: Line 45:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on November 15, 2018 - 14:27 (UTC)</dd>
<dd class="notedate">Posted on 2018-11-15 - 14:27 (UTC)</dd>
<dt class="note">[[User:killzone_kid|killzone_kid]]</dt>
<dt class="note">[[User:killzone_kid|killzone_kid]]</dt>
<dd class="note"> Even though this command can accept [[Position#Introduction|Position2D]], it is better to always explicitly state the elevation of waypoint by providing [[Position#PositionAGL|PositionAGL]]
<dd class="note"> Even though this command can accept [[Position#Introduction|Position2D]], it is better to always explicitly state the elevation of waypoint by providing [[Position#PositionAGL|PositionAGL]]

Revision as of 23:13, 13 May 2023

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