#include "..\script_component.hpp" /* * Author: PabstMirror, mharis001 * Checks if the player can pickup an intel object. * * Arguments: * 0: Object * 1: Player * * Return Value: * Can pickup * * Example: * [cursorObject, player] call ace_intelitems_fnc_canPickup * * Public: No */ params ["_object", "_player"]; private _magazineClass = getText ((configOf _object) >> QGVAR(magazine)); _magazineClass != "" && {_player canAdd _magazineClass}