BIS_fnc_limitItems
Jump to navigation
Jump to search
Description
- Description:
- Keeps or removes unit's items (including NVGs and binocular/designator) based on probability user sets.
- Execution:
- call
- Groups:
- Inventory
Syntax
- Syntax:
- [unit, chanceNVG, chanceBino, chanceGPS, chanceMap, chanceRadio, chanceCompass, chanceWatch] call BIS_fnc_limitItems
- Parameters:
- unit: Object
- chanceNVG: Number - (Optional, default 50) chance to keep NVGs in % (range 0..100)
- 0 = NVGs are always removed
- 100 = NVGs are always kept
- chanceBino: Number - (Optional, default 50) chance to keep binoculars in %
- chanceGPS: Number - (Optional, default 50) chance to keep GPS in %
- chanceMap: Number - (Optional, default 50) chance to keep Map in %
- chanceRadio: Number - (Optional, default 50) chance to keep radio in %
- chanceCompass: Number - (Optional, default 50) chance to keep compass in %
- chanceWatch: Number - (Optional, default 50) chance to keep watch in %
- Return Value:
- Boolean - always true
Examples
- Example 1:
- Example 2:
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