BIS fnc moveIn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *Multiplayer *= * " to " ") |
||
Line 33: | Line 33: | ||
|x3= <code>[myTank, [[player]], ["turret", -1]] [call]] [[BIS_fnc_moveIn]]; {{codecomment|// will [[moveInDriver]] the player}}</code> | |x3= <code>[myTank, [[player]], ["turret", -1]] [call]] [[BIS_fnc_moveIn]]; {{codecomment|// will [[moveInDriver]] the player}}</code> | ||
|mp= ''unit'' must be '''[[local]]''' | |mp= ''unit'' must be '''[[local]]''' | ||
| [[moveInDriver]], [[moveInGunner]], [[moveInCommander]], [[moveInCargo]], [[moveInTurret]], [[moveInAny]] | | [[moveInDriver]], [[moveInGunner]], [[moveInCommander]], [[moveInCargo]], [[moveInTurret]], [[moveInAny]] |
Revision as of 18:55, 29 January 2021
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:
- Return value needed
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:
- See also needed
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