BIS fnc itemType: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
||
Line 7: | Line 7: | ||
|gr1 = Inventory | |gr1 = Inventory | ||
| {{ | | {{Feature|important| Be very careful with this function as certain mods modifiy the categories making this function unreliable!}} | ||
Returns item category and type. | Returns item category and type. | ||
*'''Can return:''' | *'''Can return:''' |
Revision as of 03:09, 7 February 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:
- See also needed
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).