From Bohemia Interactive Community
Hover & click on the images for description
⚠
Only available in
Development branch(es) until its release with Arma 3 patch
v2.14.
Description
- Description:
- Returns true is weapon disassembly is enabled otherwise false. As disassembly can be enabled/disabled on both player and weapon, it might be necessary to check both cases.
⚠
Beware that when weapon disassembly is disabled on the player, it is tracking player's unit. If player leaves the server and another player joins into the same playable unit, they won't have option to disassemble.
- Groups:
- Weapons
Syntax
- Syntax:
- weaponDisassemblyEnabled entity
- Parameters:
- entity: Object - player or weapon
- Return Value:
- Boolean - true if enabled
Examples
- Example 1:
Additional Information
- See also:
- enableWeaponDisassembly weapons action inGameUISetEventHandler
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