#include "..\script_component.hpp" /* * Author: Glowbal * Check if given unit has an item of given classname. Note: Case sensitive. * * Arguments: * 0: Unit * 1: Item classname * * Return Value: * Unit has item * * Example: * [player, "ACE_Banana"] call ace_common_fnc_hasItem * * Public: Yes */ params [["_unit", objNull, [objNull]], ["_item", "", [""]]]; _item in (_unit call FUNC(uniqueItems)) // return