waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (attaches vehicle to waypoint not other way round) |
Killzone Kid (talk | contribs) (attaching vehicles) |
||
Line 33: | Line 33: | ||
<dd class="notedate">Posted on June 19, 2010 - 09:44 | <dd class="notedate">Posted on June 19, 2010 - 09:44 | ||
<dt class="note">[[User:Str|Str]] | <dt class="note">[[User:Str|Str]] | ||
<dd class="note">You can attach | <dd class="note">You can only attach vehicles inserted from classic editor. | ||
Trying to attach | Trying to attach dynamically spawned ([[createUnit]], [[createVehicle]]) vehicles won't work. | ||
Engine will then try to find suitable target by itself, affecting game performance. | Engine will then try to find suitable target by itself, affecting game performance. | ||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 19:36, 7 November 2018
Description
- Description:
- Attaches a vehicle Object to the given Waypoint.
- 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
Notes
- Posted on June 19, 2010 - 09:44
- Str
- You can only attach vehicles inserted from classic editor. Trying to attach dynamically spawned (createUnit, createVehicle) vehicles won't work. Engine will then try to find suitable target by itself, affecting game performance.