BIS fnc limitItems: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
m (1 revision imported: BIS Functions update 2/7) |
(No difference)
|
Revision as of 19:58, 20 May 2017
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