Difference between revisions of "VN fnc switchableTurrets turretPathToConfig"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.10 |author=veteran29 |a= |e= |g1= vn_switchableTurrets_functions |d= <pre>Get Turret config for given turret path.</pre> |s= [] call VN_fnc_switchabl...")
 
 
Line 12: Line 12:
 
|d= <pre>Get Turret config for given turret path.</pre>
 
|d= <pre>Get Turret config for given turret path.</pre>
  
|s= [] call [[VN_fnc_switchableTurrets_turretPathToConfig]];
+
|s= [_vehicle,_turretPath] call [[VN_fnc_switchableTurrets_turretPathToConfig]];
  
 
|p1n=_vehicle
 
|p1n=_vehicle

Latest revision as of 23:41, 9 May 2022

← 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