BIS_fnc_limitItems
Jump to navigation
Jump to search
Description
- Description:
/* Author: Vaclav "Watty Watts" Oliva Description: Keeps or removes unit's items (including NVGs and binocular/designator) based on probability user sets. - use 0-100 to randomize the chance of keeping the current attachment - use 100 to always keep the attachment - use 0 to always remove the attachment Parameters: Select 0 - OBJECT: Target unit Select 1 - NUMBER: Chance to keep the NVGs. Default is 50. Select 2 - NUMBER: Chance to keep the binocular. Default is 50. Select 3 - NUMBER: Chance to keep the GPS. Default is 50. Select 4 - NUMBER: Chance to keep the map. Default is 50. Select 5 - NUMBER: Chance to keep the radio. Default is 50. Select 6 - NUMBER: Chance to keep the compass. Default is 50. Select 7 - NUMBER: Chance to keep the watch. Default is 50. Returns: Boolean Examples: _limit = [player] call BIS_fnc_limitItems; _limit = [player,0,15,30,45,60,75,90] call BIS_fnc_limitItems; */ // Params
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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