VN_fnc_switchableTurrets_turretPathToConfig

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.10
by veteran29
Argument(s): n/a
Effect(s): unknown

Description

Get Turret config for given turret path.

Syntax

Syntax
[_vehicle,_turretPath] call VN_fnc_switchableTurrets_turretPathToConfig;
Parameters
_vehicle: Object - (Optional, default objNull)
_turretPath: Array - (Optional, default [])
Return value
Config - Config for given turret path

Examples

Example 1
[vehicle player, [0,1]] call VN_fnc_switchableTurrets_turretPathToConfig