Arma 3 Scripting

BIS_fnc_moveIn

  • Local argument
  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · original wiki page

Description

Moves a unit into vehicle. Compatible with assignedVehicleRole output.

Syntax

[vehicle, unit, role] call BIS_fnc_moveIn

Parameters:

Returns: Boolean - true if moved in successfully

Examples

Example 1

[myCar, player, "cargo"] call BIS_fnc_moveIn;

Example 2

[myTank, player, ["turret", [0]]] call BIS_fnc_moveIn;

Example 3

[myTank, player, ["turret", -1]] call BIS_fnc_moveIn; // will moveInDriver the player

See also

moveInDriver · moveInGunner · moveInCommander · moveInCargo · moveInTurret · moveInAny