enableWeaponDisassembly

From Bohemia Interactive Community
Revision as of 01:42, 9 December 2016 by Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.67|= Game version |arg= global...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.67|1.67]]
Hover & click on the images for description

Description

Description:
Enables or disables disassembly of static weapons. Could be applied to local player, to another unit or to static weapon directly.
Groups:
Uncategorised

Syntax

Syntax:
enableWeaponDisassembly enable
Parameters:
enable: Boolean - false to prevent local player from being able to disassemble static weapons
Return Value:
Nothing

Alternative Syntax

Syntax:
entity enableWeaponDisassembly enable
Parameters:
entity: Object - unit or static weapon
enable: Boolean - false to prevent a unit from being able to disassemble static weapons, or to prevent a static weapon from being disassembled by anyone
Return Value:
Nothing

Examples

Example 1:
enableWeaponDisassembly false;
Example 2:
soldier1 enableWeaponDisassembly false;
Example 3:
mortar1 enableWeaponDisassembly false;

Additional Information

See also:
weaponsaction

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

[[Category:Introduced with arma3dev version 1.67]][[ Category: arma3dev: New Scripting Commands | ENABLEWEAPONDISASSEMBLY]][[ Category: arma3dev: Scripting Commands | ENABLEWEAPONDISASSEMBLY]]

Notes

Bottom Section