enableWeaponDisassembly: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Killzone Kid (talk | contribs) No edit summary |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.68 | |||
| | |arg= global | ||
| | |eff= global | ||
| | |gr1= Weapons | ||
| Enables or disables disassembly of static weapons. Could be applied to local [[player]], to another unit or to static weapon directly. | |descr= Enables or disables disassembly of static weapons. Could be applied to local [[player]], to another unit or to static weapon directly. | ||
| | |s1= [[enableWeaponDisassembly]] enable | ||
|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 | |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]] | ||
|x1= <sqf>enableWeaponDisassembly false;</sqf> | |||
|x2= <sqf>soldier1 enableWeaponDisassembly false;</sqf> | |||
|x2= < | |||
|x3= <sqf>mortar1 enableWeaponDisassembly false;</sqf> | |||
| [[weapons]] | |seealso= [[weaponDisassemblyEnabled]] [[weapons]] [[action]] [[inGameUISetEventHandler]] | ||
}} | }} | ||
Latest revision as of 17:08, 18 April 2023
Description
- Description:
- Enables or disables disassembly of static weapons. Could be applied to local player, to another unit or to static weapon directly.
- Groups:
- Weapons
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:
- Example 3:
Additional Information
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