waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 34: | Line 34: | ||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<dd class="notedate"> | <dd class="notedate">June 19, 2010 - 09:44</dd> | ||
<dt class="note">[[User:Str|Str]] (Quoted)</dt> | <dt class="note">[[User:Str|Str]] (Quoted)</dt> | ||
<dd class="note"> | <dd class="note"> |
Revision as of 22:43, 4 January 2019
Description
- Description:
- Attaches a Waypoint to the given Vehicle or Unit. Attached waypoint automatically follows the vehicle/unit it is attached to.
- Groups:
- Uncategorised
Syntax
- Syntax:
- waypoint waypointAttachVehicle vehicleName
- Parameters:
- waypoint: Waypoint - Waypoint to attach
- vehicle: Object - Vehicle/unit to attach the waypoint to
- Return Value:
- Nothing
Examples
- Example 1:
[_grp, 2] waypointAttachVehicle vehicle player;
- Example 2:
((waypoints player) select 0) waypointAttachVehicle _soldier1;
Additional Information
- See also:
- waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypecurrentWaypointattachObjectattachToattachedObjectsattachedTolightAttachObjecttriggerAttachVehicleattachedObject
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
- June 19, 2010 - 09:44
- Str (Quoted)
- You can attach waypoint only to vehicle inserted from the editor. Trying to attach it to dynamically spawned (createUnit, createVehicle) won't work. Engine will then try to find suitable target by itself, affecting game performance. [1]