setWPPos: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofp | | ofp | ||
|1.21 | |1.21 | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| Sets waypoint position <br><br> | | Sets waypoint position <br><br> | ||
{{ Informative | This command is identical to <tt>[[setWaypointPosition]] [pos, -1]</tt> (see command description for more info)}} | {{ Informative | This command is identical to <tt>[[setWaypointPosition]] [pos, -1]</tt> (see command description for more info)}} | ||
| waypoint '''setWPPos''' pos | | waypoint '''setWPPos''' pos | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] | |p1= waypoint: [[Array]] - format [[Waypoint]] | ||
|p2= pos: [[Array]] - format [[PositionAGL]] | |p2= pos: [[Array]] - format [[PositionAGL]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[_groupOne, 1] [[setWPPos]] [[markerPos]] "MarkerOne";</code> | |x1= <code>[_groupOne, 1] [[setWPPos]] [[markerPos]] "MarkerOne";</code> | ||
| [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypoints]], [[waypointSpeed]] | | [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypoints]], [[waypointSpeed]] | ||
}} | }} |
Revision as of 11:12, 18 January 2021
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.21
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Waypoints
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands