enableWeaponDisassembly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 21: | Line 21: | ||
| s2= entity '''enableWeaponDisassembly''' enable | | s2= entity '''enableWeaponDisassembly''' enable | ||
|p21= entity: [[Object]] - unit or static weapon | |p21= entity: [[Object]] - unit or static weapon | ||
|p22= 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 | |p22= 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 | ||
|r2= [[Nothing]] | |r2= [[Nothing]] |
Revision as of 18:06, 29 January 2021
Description
- Description:
- Description needed
- Groups:
- Weapons
Syntax
- Syntax:
- Syntax needed
- Parameters:
- enable: Boolean - false to prevent local player from being able to disassemble static weapons
- Return Value:
- Return value needed
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:
- See also needed
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