getCrewPos (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
Description
- Description:
- Returns a list of arrays, each array contains [<string:proxy type>, <position:proxy position>, <number:ID>, <object: unit>, <array: turret path>].
Proxy type can be one of "driver", "gunner", "commander", "cargo". Proxy position is relative to the vehicle. ID is the ID of a cargo proxy. Unit is the unit, which is sitting in the proxy. Turret path is the path of the turret or just an empty array, if it is not a turret.
Syntax
Examples
- Example 1:
_crewPositions = getCrewPos (vehicle player)
Additional Information
- Multiplayer:
- Behaviour unknown.

