waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(44 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| | |game1= ofpe | ||
|version1= 1.00 | |||
|1.00 | |game2= arma1 | ||
|version2= 1.00 | |||
|game3= arma2 | |||
|version3= 1.00 | |||
|game4= arma2oa | |||
|version4= 1.50 | |||
|game5= tkoh | |||
|version5= 1.00 | |||
|game6= arma3 | |||
|version6= 0.50 | |||
|gr1= Waypoints | |gr1= Waypoints | ||
| Attaches | |descr= Attaches the [[Waypoint]] to the provided vehicle [[Object]]. | ||
{{Feature | important | Use this command to associate a transport with | {{Feature | important | Use this command to associate a transport with {{hl|"GETIN"}} waypoint, other types of waypoints might or might not work. | ||
See also [[setWaypointType]] to set the waypoint type to "GETIN".}} | |||
| waypoint [[waypointAttachVehicle]] vehicleName | |s1= waypoint [[waypointAttachVehicle]] vehicleName | ||
|p1= waypoint: [[Waypoint]] | |p1= waypoint: [[Waypoint]] | ||
Line 16: | Line 31: | ||
|p2= vehicleName: [[Object]] | |p2= vehicleName: [[Object]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[_grp, 2] waypointAttachVehicle vehicle player;</sqf> | ||
|x2= < | |x2= <sqf>((waypoints player) select 0) waypointAttachVehicle _soldier1;</sqf> | ||
|seealso= [[waypoints]] | |seealso= [[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]] | ||
}} | }} | ||
Latest revision as of 10:25, 13 May 2022
Description
Syntax
- Syntax:
- waypoint waypointAttachVehicle vehicleName
- Parameters:
- waypoint: Waypoint
- vehicleName: Object
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- 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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints