fn vbs getTurretCfg (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.20
Description
- Description:
- Returns the config of the specified turret of the specified vehicle. This can then be used to extract parameters from the config of the turret.
Syntax
- Syntax:
- [vehicleClass, turret] call fn_vbs_getTurretCfg
- Parameters:
- vehicleClass: String - classname of vehicle
- turret: Array - turret path (eg: [0,1]
- Return Value:
- Config
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.

