2015-01-13 21:51:02 +00:00
|
|
|
/*
|
|
|
|
* Author: KoffeinFlummi
|
|
|
|
* Called from config. Can player reset FCS?
|
|
|
|
*
|
2016-06-18 09:50:41 +00:00
|
|
|
* Arguments:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-01-13 21:51:02 +00:00
|
|
|
*
|
2015-12-10 15:00:14 +00:00
|
|
|
* Return Value:
|
|
|
|
* Boolean <BOOL>
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* call ace_fcs_fnc_canResetFCS
|
|
|
|
*
|
2015-12-10 15:00:14 +00:00
|
|
|
* Public: No
|
2015-01-13 21:51:02 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-12-10 15:00:14 +00:00
|
|
|
params ["_unit"];
|
|
|
|
|
|
|
|
count ((vehicle _unit) getVariable [format ["%1_%2", QGVAR(Magazines), [_unit] call EFUNC(common,getTurretIndex)], []]) > 1 // return
|