fn vbs getTurret (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.22
Description
- Description:
- Returns the turret path of a given unit.
Syntax
- Syntax:
- [vehicle, unit] call fn_vbs_getTurret
- Parameters:
- vehicle: Object - The vehicle of the unit
- unit: Object - The unit in the turret
- Return Value:
- Array
Examples
- Example 1:
[tank1, player] call fn_vbs_getTurret
Retuns the turret path.
Additional Information
- Multiplayer:
- Behaviour unknown.

