enableWeaponDisassembly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=") |
||
Line 17: | Line 17: | ||
|p1= enable: [[Boolean]] - [[false]] to prevent local [[player]] from being able to disassemble static weapons | |p1= enable: [[Boolean]] - [[false]] to prevent local [[player]] from being able to disassemble static weapons | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
| s2= entity '''enableWeaponDisassembly''' enable | |s2= entity '''enableWeaponDisassembly''' enable | ||
|p21= entity: [[Object]] - unit or static weapon | |p21= entity: [[Object]] - unit or static weapon |
Revision as of 15:33, 10 June 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:
- 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