currentThrowable: Difference between revisions
(:|) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 14: | Line 14: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[Array]] | |r1= [[Array]] with [magazineName, muzzleName, id, ammoCount]: | ||
* magazineName: [[String]] | * magazineName: [[String]] | ||
* muzzleName: [[String]] | * muzzleName: [[String]] | ||
Revision as of 09:21, 1 January 2026
Description
- Description:
- Returns currently selected throwable (and the muzzle it is loaded into), which will be launched if the user presses G.
- Groups:
- WeaponsUnit Inventory
Syntax
- Syntax:
- currentThrowable unit
- Parameters:
- unit: Object
- Return Value:
- Array with [magazineName, muzzleName, id, ammoCount]:
Examples
- Example 1:
- Example 2:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note