Description
Returns if weapon disassembly is enabled. As disassembly can be enabled/disabled on both player and weapon, it might be necessary to check both.
Important
Beware that when the weapon disassembly is disabled on the player, it is tracking the unit itself. If the player leaves the server and another player joins into the same playable unit, they will not have the option to disassemble either.
Syntax
weaponDisassemblyEnabled entity
Parameters:
Returns: Boolean - true if enabled
Examples
Example 1
private _enabled = weaponDisassemblyEnabled player && weaponDisassemblyEnabled _weapon;
See also
enableWeaponDisassembly · weapons · action · inGameUISetEventHandler