ACE3/addons/fcs/functions/fnc_canResetFCS.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
393 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: KoffeinFlummi
* Called from config. Can player reset FCS?
*
* Arguments:
* None
*
* Return Value:
* Boolean <BOOL>
*
* Example:
* call ace_fcs_fnc_canResetFCS
*
* Public: No
*/
params ["_unit"];
count ((vehicle _unit) getVariable [format ["%1_%2", QGVAR(Magazines), [_unit] call EFUNC(common,getTurretIndex)], []]) > 1 // return