moveInDriver: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
(use moveOut before moveIn) |
||
Line 30: | Line 30: | ||
|descr= Moves soldier into vehicle driver position (immediate, no animation). | |descr= Moves soldier into vehicle driver position (immediate, no animation). | ||
{{Feature|informative|See [[AI Group Vehicle Management]] for more information.}} | {{Feature|informative|See [[AI Group Vehicle Management]] for more information.}} | ||
{{Feature|Important|If the unit is already in a vehicle, nothing will happen. You should use [[moveOut]] to move the unit out of his vehicle before trying to move him into a new (or same) vehicle.}} | |||
|mp= {{Feature|important|''unit'' must be [[Multiplayer Scripting#Locality|local]], while the vehicle's locality does not matter.}} | |mp= {{Feature|important|''unit'' must be [[Multiplayer Scripting#Locality|local]], while the vehicle's locality does not matter.}} |
Revision as of 17:50, 26 February 2023
Description
- Description:
- Moves soldier into vehicle driver position (immediate, no animation).
- Multiplayer:
- Groups:
- Unit Control
Syntax
- Syntax:
- unit moveInDriver vehicle
- Parameters:
- unit: Object
- vehicle: Object
- Return Value:
- Nothing
Examples
- Example 1:
- _soldierOne moveInDriver _tankOne;
Additional Information
- See also:
- moveInAny moveInCargo moveInCommander moveInGunner moveInTurret assignAsCargo assignAsCommander assignAsDriver assignAsGunner isTurnedOut
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 version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: 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: Unit Control
- Scripting Commands: Global Effect