{"name":"BIS_fnc_itemType","operator":null,"title":"BIS fnc itemType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_itemType","revid":378153,"updated":"2026-02-26T00:02:49Z","groups":["Inventory"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.08"}],"since":{"game":"arma3","name":"Arma 3","version":"1.08"},"arma3_since":"1.08","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"> [!IMPORTANT]\n> Be very careful with this function as certain mods modify the categories making this function unreliable!\n\nReturns item category and type.\n\n| Weapon / VehicleWeapon | VehicleWeapon | Item | Equipment | Magazine | Mine |\n|---|---|---|---|---|---|\n| - AssaultRifle<br>- BombLauncher<br>- Cannon<br>- GrenadeLauncher<br>- Handgun<br>- Launcher<br>- MachineGun<br>- Magazine<br>- MissileLauncher<br>- Mortar<br>- RocketLauncher<br>- Shotgun<br>- Throw<br>- Rifle<br>- SubmachineGun<br>- SniperRifle | - Horn<br>- CounterMeasuresLauncher<br>- LaserDesignator | - AccessoryMuzzle<br>- AccessoryPointer<br>- AccessorySights<br>- AccessoryBipod<br>- Binocular<br>- Compass<br>- FirstAidKit<br>- GPS<br>- LaserDesignator<br>- Map<br>- Medikit<br>- MineDetector<br>- NVGoggles<br>- Radio<br>- Toolkit<br>- UAVTerminal<br>- VehicleWeapon<br>- Unknown<br>- UnknownEquipment<br>- UnknownWeapon<br>- Watch | - Glasses<br>- Headgear<br>- Vest<br>- Uniform<br>- Backpack | - Artillery<br>- Bullet<br>- CounterMeasures<br>- Flare<br>- Grenade<br>- Laser<br>- Missile<br>- Rocket<br>- Shell<br>- ShotgunShell<br>- SmokeShell<br>- UnknownMagazine | - Mine<br>- MineBounding<br>- MineDirectional |","syntaxes":[{"syntax":"weaponClass call BIS_fnc_itemType","since":null,"effect":null,"exec":null,"params":[{"name":"weaponClass","type":"String","optional":false,"default":null,"description":"weapon's class name","types":["String"],"since":null,"text":"weaponClass: String - weapon's class name"}],"returns":{"type":"Array of Strings format [category, type]","types":["Array","String"],"description":null,"text":"Array of Strings format [category, type]"}}],"examples":[{"text":"```sqf\n\"arifle_MX_pointer_F\" call BIS_fnc_itemType;\n```","code":["\"arifle_MX_pointer_F\" call BIS_fnc_itemType;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["currentWeapon"],"notes":[{"user":"Demellion","date":"2017-05-14T19:03:00Z","text":"More detailed description about some specific Weapons and Vehicle Weapons:\n\n| Weapon | Description |\n|---|---|\n| GrenadeLauncher | Underbarrel and HGLs. |\n| BombLauncher | Aircraft bomb throw weapons. |\n| MissileLauncher | Guided missile weapons (alike Titan series). |\n| RocketLauncher | Non-guided missile weapons (alike RPG32). |\n| Cannon | Main vehicle turret (alike tank cannon). |\n| Throw | Throw-like weapons (grenade weapon, melee weapons from mods, etc). |"}],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Inventory","Functions","Introduced with Arma 3 version 1.08"],"docblock":null,"filled_from_docblock":[]}