BIS fnc classMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
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]] |= Parameter 1


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


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


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



Revision as of 22:48, 6 May 2018


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