setWaypointPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
||
Line 35: | Line 35: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on November 14, 2018 - 22:52 (UTC)</dd> | <dd class="notedate">Posted on November 14, 2018 - 22:52 (UTC)</dd> |
Revision as of 13:35, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Waypoints
Syntax
- Syntax:
- Syntax needed
- Parameters:
- waypoint: Array - format Waypoint
- [center, radius]: Array
- center: PositionAGL or Object (or PositionASL if the radius is negative)
- radius: Number - random placement radius in meters. Set it to -1 and convert center to PositionASL for the exact center placement.
- Return Value:
- Nothing
Examples
- Example 1:
[_grp, 2] setWaypointPosition [position player, 0];
- Example 2:
- Exact placement (see description):
_wp setWaypointPosition [getPosASL player, -1];
Additional Information
- See also:
- waypointPositionsetWPPoswaypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeed
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 14, 2018 - 22:52 (UTC)
- killzone_kid
- If you want AI to understand height of the waypoint, for example set waypoint at the top of Military Cargo Tower, use Example 2, with position in ASL format and -1 radius.