waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| Attaches a vehicle [[Object]] to the given [[Waypoint]]. | | Attaches a vehicle [[Object]] to the given [[Waypoint]]. | ||
<br><br> | <br><br> | ||
{{Important | Use this command to associate a transport with <tt>"GETIN"</tt> waypoint, other types of waypoints might work or might not. If you have different type of waypoint to start with, make it a <tt>"GETIN"</tt> type with [[setWaypointType]]}} | {{Important | Use this command to associate a transport with <tt>"GETIN"</tt> waypoint, other types of waypoints might work or might not. If you have different type of waypoint to start with, make it a <tt>"GETIN"</tt> type with [[setWaypointType]]}} | ||
| | | waypoint [[waypointAttachVehicle]] vehicleName | ||
| | |p1= waypoint: [[Waypoint]] | ||
| [[Nothing]] | |p2= vehicleName: [[Object]] | ||
| [[Nothing]] | |||
|x1= <code>[_grp, 2] [[waypointAttachVehicle]] [[vehicle]] [[player]];</code> | |x1= <code>[_grp, 2] [[waypointAttachVehicle]] [[vehicle]] [[player]];</code> | ||
|x2= <code>(([[waypoints]] [[player]]) [[select]] 0) [[waypointAttachVehicle]] _soldier1;</code> | |x2= <code>(([[waypoints]] [[player]]) [[select]] 0) [[waypointAttachVehicle]] _soldier1;</code> | ||
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]] | | [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[currentWaypoint]], [[attachObject]], [[attachTo]], [[attachedObjects]], [[attachedTo]], [[lightAttachObject]], [[triggerAttachVehicle]], [[attachedObject]] | ||
}} | }} | ||
Revision as of 11:43, 18 January 2021
Description
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Waypoints
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands