BIS fnc itemType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <!-- Note Section [A-Z]+ -->" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.08 | |1.08 | ||
|gr1 = Inventory | |gr1= Inventory | ||
| {{Feature|important| Be very careful with this function as certain mods modifiy the categories making this function unreliable!}} | | {{Feature|important| Be very careful with this function as certain mods modifiy the categories making this function unreliable!}} |
Revision as of 13:41, 11 April 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Inventory
Syntax
- Syntax:
- Syntax needed
- Parameters:
- weaponClass: String - Weapon's class name
- Return Value:
- Return value needed
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 or on the Forums.
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).