BIS fnc moveIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " +" to " ")
Line 37: Line 37:
|seealso= [[moveInDriver]], [[moveInGunner]], [[moveInCommander]], [[moveInCargo]], [[moveInTurret]], [[moveInAny]]
|seealso= [[moveInDriver]], [[moveInGunner]], [[moveInCommander]], [[moveInCargo]], [[moveInTurret]], [[moveInAny]]
}}
}}




[[Category:{{Name|tkoh}}: Functions|{{uc:moveIn}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:moveIn}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moveIn}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moveIn}}]]

Revision as of 23:08, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Multiplayer:
unit must be local
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
unit: Object - the unit to move into vehicle
role: Array - wanted seat, in format ["role"] or ["role", turretPath]. Can be one of:
  • "driver"
  • "gunner"
  • "commander"
  • "cargo"
  • "turret"
  • "": will load unit in the first available seat (using moveInAny)
Return Value:
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

Additional Information

See also:
moveInDrivermoveInGunnermoveInCommandermoveInCargomoveInTurretmoveInAny

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