waypointAttachVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also, structure formating)
(see also)
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[waypointAttachedVehicle]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]] |= See also
| [[waypointAttachedVehicle]], [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[setWaypointLoiterRadius]] |= See also


}}
}}

Revision as of 15:46, 6 May 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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:
waypointAttachedVehiclewaypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblesetWaypointLoiterRadius

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.

Bottom Section