Arma 3 Scripting

BIS_fnc_limitItems

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

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

Syntax

[unit, chanceNVG, chanceBino, chanceGPS, chanceMap, chanceRadio, chanceCompass, chanceWatch] call BIS_fnc_limitItems

Parameters:

Returns: Boolean - always true

Examples

Example 1

player call BIS_fnc_limitItems;

Example 2

[player, 0, 15, 30, 45, 60, 75, 90] call BIS_fnc_limitItems;

See also

BIS_fnc_limitWeaponItems · BIS_fnc_limitAmmunition