enableWeaponDisassembly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 32: | Line 32: | ||
|x3= <code> mortar1 [[enableWeaponDisassembly]] [[false]];</code> | |x3= <code> mortar1 [[enableWeaponDisassembly]] [[false]];</code> | ||
| [[weapons]], [[action]], [[inGameUISetEventHandler]] | |seealso= [[weapons]], [[action]], [[inGameUISetEventHandler]] | ||
}} | }} |
Revision as of 23:43, 16 February 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:
- 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