waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (see also) |
||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[_grp, 2] waypointAttachVehicle [[vehicle]] [[player]]</code> |= Example 1 | |x1= <code>[_grp, 2] [[waypointAttachVehicle]] [[vehicle]] [[player]]</code> |= Example 1 | ||
|x2= <code>[_grp, 2] waypointAttachVehicle _soldier1</code> |= Example 2 | |x2= <code>[_grp, 2] [[waypointAttachVehicle]] _soldier1</code> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]] |= See also | | --- Waypoint Category ---<br> | ||
[[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]]<br><br> | |||
--- Attach Category ---<br> [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]] |= See also | |||
}} | }} |
Revision as of 07:04, 3 August 2014
Description
- Description:
- Attaches a Unit to the given Waypoint.
- Groups:
- Uncategorised
Syntax
- Syntax:
- waypoint waypointAttachVehicle vehicleName
- Parameters:
- waypoint: Array - format Waypoint
- vehicleName: Object
- Return Value:
- Nothing
Examples
- Example 1:
[_grp, 2] waypointAttachVehicle vehicle player
- Example 2:
[_grp, 2] waypointAttachVehicle _soldier1
Additional Information
- See also:
- --- Waypoint Category ---
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypecurrentWaypoint
--- Attach Category ---
attachObjectattachToattachedObjectsattachedTolightAttachObjecttriggerAttachVehicleattachedObject
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
- Posted on June 19, 2010 - 09:44
- Str
- You can attach waypoint only to vehicle inserted from classic 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.