setWPPos: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) 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>}}|= | {{ Informative | This command is identical to <tt>[[setWaypointPosition]] [pos, 0]</tt>}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| waypoint '''setWPPos''' pos |= | | waypoint '''setWPPos''' pos |SYNTAX= | ||
|p1= waypoint: [[Array]] - format [[Waypoint]] |= | |p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1= | ||
|p2= pos: [[Array]] - format [[PositionAGL]] |= | |p2= pos: [[Array]] - format [[PositionAGL]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[_groupOne, 1] [[setWPPos]] [[markerPos]] "MarkerOne";</code> |= | |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]] |= | | [[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
Description
- Description:
- Sets waypoint position
- Groups:
- Uncategorised
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.21
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Waypoints
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters