setWPPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 8: Line 8:


| Sets waypoint position <br><br>
| Sets waypoint position <br><br>
{{ Informative | This command is identical to <tt>[[setWaypointPosition]] [pos, 0]</tt>}}|= Description
{{ Informative | This command is identical to <tt>[[setWaypointPosition]] [pos, 0]</tt>}}|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| waypoint '''setWPPos''' pos |= Syntax
| waypoint '''setWPPos''' pos |SYNTAX=


|p1= waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
|p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=


|p2= pos: [[Array]] - format [[PositionAGL]] |= Parameter 2
|p2= pos: [[Array]] - format [[PositionAGL]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[_groupOne, 1] [[setWPPos]] [[markerPos]] "MarkerOne";</code> |= Example 1
|x1= <code>[_groupOne, 1] [[setWPPos]] [[markerPos]] "MarkerOne";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypoints]], [[waypointSpeed]] |= 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]] |SEEALSO=


}}
}}

Revision as of 14:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets waypoint position

This command is identical to setWaypointPosition [pos, 0]
Groups:
Uncategorised

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

Notes

Bottom Section

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