ACE3/addons/rangecard/functions/fnc_canShowCopy.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

23 lines
432 B
Plaintext

#include "..\script_component.hpp"
/*
* Authors: Ruthberg
* Tests if the Range Card copy can be shown
*
* Arguments:
* Nothing
*
* Return Value:
* canShow <BOOL>
*
* Example:
* [] call ace_rangecard_fnc_canShowCopy
*
* Public: No
*/
GVAR(ammoClassCopy) != "" &&
GVAR(magazineClassCopy) != "" &&
GVAR(weaponClassCopy) != "" &&
!GVAR(RangeCardOpened) &&
"ACE_RangeCard" in ([ACE_player] call EFUNC(common,uniqueItems))