setWPPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "killzone_kid" to "Killzone_Kid")
 
(6 intermediate revisions by 2 users not shown)
Line 24: Line 24:
|gr1= Waypoints
|gr1= Waypoints


|descr= Sets waypoint position <br><br>
|descr= Sets waypoint position.
{{ Feature | Informative | This command is identical to {{hl|[[setWaypointPosition]] [pos, -1]}} (see command description for more info)}}
{{Feature|informative|This command is identical to <sqf inline>setWaypointPosition [pos, -1]</sqf> (see [[setWaypointPosition]] description for more information).}}


|s1= waypoint [[setWPPos]] pos
|s1= waypoint [[setWPPos]] pos


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Array]] format [[Waypoint]]


|p2= pos: [[Array]] - format [[Position#PositionAGL|PositionAGL]]
|p2= pos: [[Array]] format [[Position#PositionAGL|PositionAGL]]


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[_groupOne, 1] [[setWPPos]] [[markerPos]] "MarkerOne";</code>
|x1= <sqf>[_groupOne, 1] setWPPos markerPos "MarkerOne";</sqf>


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


 
{{Note
 
|user= Killzone_Kid
<dl class="command_description">
|timestamp= 20181115142700
 
|text= 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]].
<dt></dt>
}}
<dd class="notedate">Posted on November 15, 2018 - 14:27 (UTC)</dd>
<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>
 
</dl>

Latest revision as of 17:52, 18 February 2024

Hover & click on the images for description

Description

Description:
Sets waypoint position.
This command is identical to setWaypointPosition [pos, -1] (see setWaypointPosition description for more information).
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
Killzone_Kid - c
Posted on Nov 15, 2018 - 14:27 (UTC)
Even though this command can accept Position2D, it is better to always explicitly state the elevation of waypoint by providing PositionAGL.