addBinocularItem: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>player addBinocularItem "Laserbatteries";</sqf> | ||
|seealso= [[addWeaponItem]] [[removeBinocularItem]] [[removeAllBinocularItems]] [[addPrimaryWeaponItem]] | |seealso= [[addWeaponItem]] [[removeBinocularItem]] [[removeAllBinocularItems]] [[addPrimaryWeaponItem]] [[addSecondaryWeaponItem]] [[addHandgunItem]] [[weaponsItems]] [[binocularItems]] [[primaryWeaponItems]] [[secondaryWeaponItems]] [[handgunItems]] | ||
}} | }} |
Latest revision as of 16:19, 4 May 2022
Description
- Description:
- Adds weapon item, including magazine, directly to the binocular weapon. This is used for infantry weapons.
- Groups:
- Unit Inventory
Syntax
- Syntax:
- unit addBinocularItem item
- Parameters:
- unit: Object
- item: String
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- addWeaponItem removeBinocularItem removeAllBinocularItems addPrimaryWeaponItem addSecondaryWeaponItem addHandgunItem weaponsItems binocularItems primaryWeaponItems secondaryWeaponItems handgunItems
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