/* * Author: Glowbal * Check if given unit has a magazine of given classname * * Arguments: * 0: Unit * 1: Magazine Classname * * Return Value: * has Magazine * * Public: yes * * Note: Case sensitive */ #include "script_component.hpp" params [["_unit", objNull, [objNull]], ["_magazine", "", [""]]]; _magazine in magazines _unit // return