currentThrowable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 23: | Line 23: | ||
_id = (_ct [[select]] 2 [[select]] 0) - 1e+007; {{cc|18}}</code> | _id = (_ct [[select]] 2 [[select]] 0) - 1e+007; {{cc|18}}</code> | ||
| [[currentWeapon]], [[currentMagazine]], [[currentMuzzle]], [[BIS_fnc_isThrowable]] | |seealso= [[currentWeapon]], [[currentMagazine]], [[currentMuzzle]], [[BIS_fnc_isThrowable]] | ||
}} | }} |
Revision as of 23:29, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- WeaponsUnit Inventory
Syntax
- Syntax:
- Syntax needed
- Parameters:
- player: Object
- Return Value:
- Return value needed
Examples
- Example 1:
currentThrowable player; // ["SmokeShellGreen", "SmokeShellGreenMuzzle", [1.00002e+007, 0]]
- Example 2:
_ct = currentThrowable player; // ["HandGrenade", "HandGrenadeMuzzle", [1e+007, 0]] _id = (_ct select 2 select 0) - 1e+007; // 18
Additional Information
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