waypointAttachVehicle: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(76 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 | ||
| | |descr= Attaches the [[Waypoint]] to the provided vehicle [[Object]]. | ||
{{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".}} | |||
|s1= waypoint [[waypointAttachVehicle]] vehicleName | |||
| [[ | |p1= waypoint: [[Waypoint]] | ||
|p2= vehicleName: [[Object]] | |||
|r1= [[Nothing]] | |||
|x1= <sqf>[_grp, 2] waypointAttachVehicle vehicle player;</sqf> | |||
< | |x2= <sqf>((waypoints player) select 0) waypointAttachVehicle _soldier1;</sqf> | ||
[[ | |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