BIS_fnc_limitItems

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Keeps or removes unit's items (including NVGs and binocular/designator) based on probability user sets.

Syntax

Syntax:
[unit,chanceNVG,chanceBino,chanceGPS,chanceMap,chanceRadio,chanceCompass,chanceWatch] call BIS_fnc_limitItems
Parameters:
unit: Object
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

Examples

Example 1:
player call BIS_fnc_limitItems;
Example 2:
[ player,0,15,30,45,60,75,90 ] call BIS_fnc_limitItems;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_limitWeaponItemsBIS_fnc_limitAmmunition

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section