BIS fnc classWeapon: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns class of weapon given by string. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | weaponClass call [[BIS_fnc_classWeapon]] |= Syntax | ||
|p1= |= Parameter 1 | |p1= weaponClass: [[String]] |= Parameter 1 | ||
| |= Return value | | [[Config]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_weaponConfig = [[currentWeapon]] [[player]] [[call]] [[BIS_fnc_classWeapon]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[BIS fnc classMagazine]], [[isClass]] |= See also | ||
}} | }} | ||
Revision as of 22:45, 6 May 2018
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