setWPPos: Difference between revisions
Jump to navigation
Jump to search
m (+ Category) |
Lou Montana (talk | contribs) m (Text replacement - "killzone_kid" to "Killzone_Kid") |
||
(86 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| ofp |= | |game1= ofp | ||
|version1= 1.21 | |||
|1. | |game2= ofpe | ||
|version2= 1.00 | |||
| | |game3= arma1 | ||
|version3= 1.00 | |||
|game4= arma2 | |||
|version4= 1.00 | |||
|game5= arma2oa | |||
|version5= 1.50 | |||
| | |game6= tkoh | ||
|version6= 1.00 | |||
| | |game7= arma3 | ||
|version7= 0.50 | |||
| | |gr1= Waypoints | ||
| | |descr= Sets waypoint position. | ||
{{Feature|informative|This command is identical to <sqf inline>setWaypointPosition [pos, -1]</sqf> (see [[setWaypointPosition]] description for more information).}} | |||
| | |||
| | |s1= waypoint [[setWPPos]] pos | ||
|p1= waypoint: [[Array]] format [[Waypoint]] | |||
|p2= pos: [[Array]] format [[Position#PositionAGL|PositionAGL]] | |||
|r1= [[Nothing]] | |||
< | |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]] | |||
[[ | }} | ||
[[ | |||
[[ | {{Note | ||
[[ | |user= Killzone_Kid | ||
[[ | |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]]. | |||
}} |
Latest revision as of 17:52, 18 February 2024
Description
- Description:
- Sets waypoint position.
- Groups:
- Waypoints
Syntax
- Syntax:
- waypoint setWPPos pos
- Parameters:
- waypoint: Array format Waypoint
- pos: Array format PositionAGL
- Return Value:
- Nothing
Examples
- Example 1:
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 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.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.21
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints