BIS fnc classWeapon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns class of weapon given by string. |= Description
| Returns class of weapon given by string. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| weaponClass call [[BIS_fnc_classWeapon]] |= Syntax
| weaponClass call [[BIS_fnc_classWeapon]] |SYNTAX=


|p1= weaponClass: [[String]] |= Parameter 1
|p1= weaponClass: [[String]] |= Parameter 1


| [[Config]] |= Return value
| [[Config]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS fnc classMagazine]], [[isClass]] |= See also
| [[BIS fnc classMagazine]], [[isClass]] |SEEALSO=
}}
}}



Revision as of 11:26, 7 April 2019

Hover & click on the images for description

Description

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

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

Notes

Bottom Section