BIS fnc classWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2")
m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "")
Line 27: Line 27:
|seealso= [[BIS fnc classMagazine]], [[isClass]]
|seealso= [[BIS fnc classMagazine]], [[isClass]]
}}
}}
 
||||
[[Category:{{Name|arma2}}: Functions|{{uc:classWeapon}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:classWeapon}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:classWeapon}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:classWeapon}}]]

Revision as of 22:59, 16 June 2021

Hover & click on the images for description

Description

Description:
Returns class of weapon given by string.
Execution:
call
Groups:
Weapons

Syntax

Syntax:
weaponClass call BIS_fnc_classWeapon
Parameters:
weaponClass: String
Return Value:
Config

Examples

Example 1:
_weaponConfig = currentWeapon player call BIS_fnc_classWeapon;

Additional Information

See also:
BIS fnc classMagazineisClass

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

||||