setWPPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "PositionAGL" to "PositionAGL")
m (Text replacement - "Position2D" to "Position2D")
Line 47: Line 47:
<dd class="notedate">Posted on November 15, 2018 - 14:27 (UTC)</dd>
<dd class="notedate">Posted on November 15, 2018 - 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 [[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]]
</dd>
</dd>


</dl>
</dl>

Revision as of 17:54, 5 January 2022

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:
deleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointswaypointSpeed

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 November 15, 2018 - 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