2016-02-27 19:31:07 +00:00
|
|
|
/*
|
|
|
|
* Author: GitHawk, Jonpas
|
2016-02-27 20:14:23 +00:00
|
|
|
* Returns all magazines a turret of a vehicle object can hold according to config.
|
2016-02-27 19:31:07 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2017-06-08 16:47:52 +00:00
|
|
|
* 0: Vehicle object or typeOf <OBJECT><STRING>
|
2016-02-27 19:31:07 +00:00
|
|
|
* 1: Turret Path <ARRAY>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Magazine classes in TurretPath <ARRAY>
|
|
|
|
*
|
|
|
|
* Example:
|
2017-09-29 19:53:25 +00:00
|
|
|
* [vehicle, [0]] call ace_rearm_fnc_getTurretConfigMagazines
|
2016-02-27 19:31:07 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2017-06-08 16:47:52 +00:00
|
|
|
getArray ((_this call CBA_fnc_getTurret) >> "magazines")
|