waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 32: | Line 32: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on June 19, 2010 - 09:44</dd> | |||
<dt class="note">'''[[User:Str|Str]]'''</dt><dd class="note">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.</dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 10:44, 19 June 2010
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:
- See also needed
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.