BIS fnc classMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (template:command argument fix)
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>
| Returns class of magazine given by string. |DESCRIPTION=
/*
File: fn_magazineClass.sqf
 
Description:
Returns class of magazine given by string.
Parameter(s):
1: <string> magazine
Returns:
<config class> magazine class readed from config (test success with isClass)
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_classMagazine]]; --> |= Syntax
| magazineClass call [[BIS_fnc_classMagazine]] |SYNTAX=


|p1= |= Parameter 1
|p1= magazineClass: [[String]] |PARAMETER1=


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


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


| |= See also
| [[BIS_fnc_classWeapon]], [[isClass]] |SEEALSO=
 
}}
}}



Revision as of 15:28, 7 April 2019


Hover & click on the images for description

Description

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

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