BIS fnc turretConfig: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 4: | Line 4: | ||
|p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type | |p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type | ||
|p2= turret: [[Array]] - turret path| [[Config]] - turret config or [[configNull]]|x1= <code>[[getNumber]] (["B_APC_Wheeled_01_cannon_F", [0,0]] [[call]] [[BIS_fnc_turretConfig]] >> "hasGunner") > 0;</code> | |p2= turret: [[Array]] - turret path| [[Config]] - turret config or [[configNull]]|x1= <code>[[getNumber]] (["B_APC_Wheeled_01_cannon_F", [0,0]] [[call]] [[BIS_fnc_turretConfig]] >> "hasGunner") > 0;</code> | ||
|x2= <code>[[getNumber]] ([car1, [-1]] [[call]] [[BIS_fnc_turretConfig]] >> "hasDriver") > 0;</code>| [[BIS_fnc_vehicleCrewTurrets]], [[BIS_fnc_allTurrets]] | |x2= <code>[[getNumber]] ([car1, [-1]] [[call]] [[BIS_fnc_turretConfig]] >> "hasDriver") > 0;</code>|seealso= [[BIS_fnc_vehicleCrewTurrets]], [[BIS_fnc_allTurrets]] | ||
}} | }} | ||
Revision as of 00:36, 17 February 2021
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
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