enableWeaponDisassembly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
Line 4: | Line 4: | ||
| arma3 |Game name= | | arma3 |Game name= | ||
|1.68| | |1.68|Game version= | ||
|arg= global |Multiplayer Arguments= | |arg= global |Multiplayer Arguments= |
Revision as of 13:52, 31 August 2019
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:
- weaponsactioninGameUISetEventHandler
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