Page tree
Skip to end of metadata
Go to start of metadata

Introduced in

Version:1.00

Description

Description:Returns the commander of a vehicle. The commander of a vehicle can be found with effectiveCommander.

Syntax

Syntax:commander vehicle
Parameters:
  • vehicle: Object - The vehicle.
Return Value:Object - Returns the unit sitting in the commander place. If the vehicle is not a vehicle but a person, the person itself is returned.

Examples

Examples:
(commander _tank) action ["getout",_tank]

Additional Information

See also: effectiveCommander, driver, gunner, crew
Multiplayer: 
Problems: 

Notes