BIS fnc classWeapon: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| weaponClass call [[BIS_fnc_classWeapon]] |SYNTAX= | | weaponClass call [[BIS_fnc_classWeapon]] |SYNTAX= | ||
|p1= weaponClass: [[String]] |= | |p1= weaponClass: [[String]] |PARAMETER1= | ||
| [[Config]] |RETURNVALUE= | | [[Config]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_weaponConfig = [[currentWeapon]] [[player]] [[call]] [[BIS_fnc_classWeapon]];</code> |= | |x1= <code>_weaponConfig = [[currentWeapon]] [[player]] [[call]] [[BIS_fnc_classWeapon]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:28, 7 April 2019
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