assignAsCommander
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Assign a unit as commander of a vehicle. Used together with orderGetIn to order subordinate units to get in as commander of a specific vehicle. Before usage of this command a subordinate unit hasn't got the option to get into the commander place of the vehicle.
Syntax
- Syntax:
- PersonassignAsCommander Vehicle
- Parameters:
- Person: Object
- Vehicle: Object
- Return Value:
- Nothing
Examples
- Example 1:
_soldier1 assignAsCommander _tank [_soldier1] orderGetIn true
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- assignAsDriver, assignAsGunner, assignAsCargo, moveInCargo, moveInCommander, moveInDriver, moveInGunner, moveInTurret

