BIS_fnc_itemType

From Bohemia Interactive Community
Revision as of 03:46, 13 June 2021 by Lou Montana (talk | contribs) (Text replacement - " \|p([0-9]{1,2})=([^ ]+) + \| *(\[\[Arr.+) * " to " |p$1=$2 |r1=$3 ")
Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Inventory

Syntax

Syntax:
weaponClass call BIS_fnc_itemType
Parameters:
weaponClass: String - Weapon's class name
Return Value:
Array in format
  • 0: category
  • 1: type

Examples

Example 1:
"arifle_MX_pointer_F" call BIS_fnc_itemType;

Additional Information

See also:
currentWeapon

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Posted on May 14, 2017
Demellion
More detailed description about some specific Weapons and Vehicle Weapons: GrenadeLauncher // Underbarrel and HGLs BombLauncher // Aircraft bomb throw weapons. MissileLauncher // Guided missile weapons (alike Titan series). RocketLauncher // Non-guided missile weapons (alike RPG32). Cannon // Main vehicle turret (alike tank cannon). Throw // Throw-like weapons (grenade weapon, melee weapons from mods, etc).