waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Attaches a vehicle [[Object]] to the given [[Waypoint]]. This command associates given vehicle with given waypoint. The waypoint is moved to the vehicle's position. If vehicle is empty, the waypoint is converted into get-in waypoint (even though it may not show) and on-activation statement fires on get-in event. |Description= | | Attaches a vehicle [[Object]] to the given [[Waypoint]]. This command associates given vehicle with given waypoint. The waypoint is moved to the vehicle's position. If vehicle is empty, the waypoint is converted into get-in waypoint (even though it may not show) and on-activation statement fires on get-in event. Works with vehicles generated on the fly as well as with those placed in editor |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 30: | Line 30: | ||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
</dl> | </dl> | ||
Revision as of 20:10, 7 November 2018
Description
- Description:
- Attaches a vehicle Object to the given Waypoint. This command associates given vehicle with given waypoint. The waypoint is moved to the vehicle's position. If vehicle is empty, the waypoint is converted into get-in waypoint (even though it may not show) and on-activation statement fires on get-in event. Works with vehicles generated on the fly as well as with those placed in editor
- Groups:
- Uncategorised
Syntax
- Syntax:
- waypoint waypointAttachVehicle vehicleName
- Parameters:
- waypoint: Waypoint
- vehicleName: Object
- 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