removeWeapon: 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 - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#))?\]\] " to "") |
||
Line 42: | Line 42: | ||
[[Category:Scripting Commands OFP 1.96|REMOVEWEAPON]] | [[Category:Scripting Commands OFP 1.96|REMOVEWEAPON]] | ||
[[Category:Scripting Commands OFP 1.46|REMOVEWEAPON]] | [[Category:Scripting Commands OFP 1.46|REMOVEWEAPON]] |
Revision as of 23:23, 24 March 2021
Description
- Description:
- Description needed
- Groups:
- Unit InventoryVehicle Inventory
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object - unit or vehicle
- weapon: String - weapon class name
- Return Value:
- Return value needed
Examples
- Example 1:
player removeWeapon "BAF_L85A2_RIS_SUSAT";
- Example 2:
An_2 removeWeapon "M240_veh";
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
- Posted on May 27, 2009 - 14:30 (CEST)
- zGuba
- CTD may occur in certain conditions: when shooter is AI and is currently shooting at target in some proximity (tested with M136 on ACE 1.08 and Compact Fix 1.14H+). Even "dropweapon" action may cause CTD with AI.
Categories:
- Stubs
- Scripting Commands
- Command Group: Unit Inventory
- Command Group: Vehicle Inventory
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands