enableWeaponDisassembly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=") |
Lou Montana (talk | contribs) m (Text replacement - "<code> +" to "<code>") |
||
Line 26: | Line 26: | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <code> [[enableWeaponDisassembly]] [[false]];</code> | |x1= <code>[[enableWeaponDisassembly]] [[false]];</code> | ||
|x2= <code> soldier1 [[enableWeaponDisassembly]] [[false]];</code> | |x2= <code>soldier1 [[enableWeaponDisassembly]] [[false]];</code> | ||
|x3= <code> mortar1 [[enableWeaponDisassembly]] [[false]];</code> | |x3= <code>mortar1 [[enableWeaponDisassembly]] [[false]];</code> | ||
|seealso= [[weapons]], [[action]], [[inGameUISetEventHandler]] | |seealso= [[weapons]], [[action]], [[inGameUISetEventHandler]] | ||
}} | }} |
Revision as of 22:47, 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