BIS fnc returnVehicleTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
| [configEntry] call [[BIS_fnc_returnVehicleTurrets]] | |gr1= Vehicles | ||
|descr= Return the path to all turrets and sub-turrets in a vehicle. | |||
{{Feature|arma3|Does not seem to work in {{arma3}}. Use [[allTurrets]] and [[BIS_fnc_allTurrets]] instead.}} | |||
|s1= [configEntry] call [[BIS_fnc_returnVehicleTurrets]] | |||
|p1= configEntry: [[Config]] - vehicle config entry | |p1= configEntry: [[Config]] - vehicle config entry | ||
| [[Array]] - turret paths ([0], [0, 1] format) | |r1= [[Array]] - turret paths ([0], [0, 1] format) | ||
|x1= < | |x1= <sqf>[configFile >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] call BIS_fnc_returnVehicleTurrets;</sqf> | ||
| [[allTurrets]] | |seealso= [[allTurrets]] [[BIS_fnc_allTurrets]] | ||
}} | }} | ||
Latest revision as of 12:48, 13 July 2022
Description
- Description:
- Return the path to all turrets and sub-turrets in a vehicle.
- Execution:
- call
- Groups:
- Vehicles
Syntax
- Syntax:
- [configEntry] call BIS_fnc_returnVehicleTurrets
- Parameters:
- configEntry: Config - vehicle config entry
- Return Value:
- Array - turret paths ([0], [0, 1] format)
Examples
- Example 1:
Additional Information
- See also:
- allTurrets BIS_fnc_allTurrets
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