BIS fnc classMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Configs(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Configs |GROUP1=
|gr1= Configs |GROUP1=
____________________________________________________________________________________________


| Returns class of magazine given by string. |DESCRIPTION=
| Returns class of magazine given by string. |DESCRIPTION=
____________________________________________________________________________________________


| magazineClass call [[BIS_fnc_classMagazine]] |SYNTAX=
| magazineClass call [[BIS_fnc_classMagazine]] |SYNTAX=
Line 17: Line 14:


| [[Config]] |RETURNVALUE=
| [[Config]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>_magazineConfig = [[currentMagazine]] [[player]] [[call]] [[BIS_fnc_classMagazine]];</code> |EXAMPLE1=
|x1= <code>_magazineConfig = [[currentMagazine]] [[player]] [[call]] [[BIS_fnc_classMagazine]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[BIS_fnc_classWeapon]], [[isClass]] |SEEALSO=
| [[BIS_fnc_classWeapon]], [[isClass]] |SEEALSO=

Revision as of 22:36, 16 January 2021

Hover & click on the images for description

Description

Description:
Returns class of magazine given by string.
Execution:
call
Groups:
Configs

Syntax

Syntax:
magazineClass call BIS_fnc_classMagazine
Parameters:
magazineClass: String
Return Value:
Config

Examples

Example 1:
_magazineConfig = currentMagazine player call BIS_fnc_classMagazine;

Additional Information

See also:
BIS_fnc_classWeaponisClass

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