BIS fnc turretConfig: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function" to "{{RV|type=function ")
m (Text replacement - " *\| *Syntax[0-9]* *= * " to " ")
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.93|gr1 = Object Manipulation| Returns vehicle turret config for the turret given by the turret path. Using [-1] for turret path returns vehicle config.| [vehicle, turret] call [[BIS_fnc_turretConfig]] |Syntax1=
| arma3|1.93|gr1 = Object Manipulation| Returns vehicle turret config for the turret given by the turret path. Using [-1] for turret path returns vehicle config.| [vehicle, turret] call [[BIS_fnc_turretConfig]]


|p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type
|p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type

Revision as of 19:59, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object or String - actual vehicle or vehicle type
turret: Array - turret path
Return Value:
Return value needed

Examples

Example 1:
getNumber (["B_APC_Wheeled_01_cannon_F", [0,0]] call BIS_fnc_turretConfig >> "hasGunner") > 0;
Example 2:
getNumber ([car1, [-1]] call BIS_fnc_turretConfig >> "hasDriver") > 0;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note