FF SUITEArma 3 addons

Utils · Weapon faults

weaponFaultState

FF_utils_fnc_weaponFaultState

internalPREP21 lines

Description

Pure immutable firearm selection and revision transition for faults.

Arguments
0: Prior state <ARRAY>, 1: Carried firearm classes <ARRAY>, 2: Held class <STRING>, 3: All firearms <BOOL>, 4: Repair class (default: empty) <STRING>
Returns
New revision and fault classes <ARRAY>

Example

[[0,[]],["rifle"],"rifle",false] call FF_utils_fnc_weaponFaultState

Source

File
x\FF\addons\utils\fnc_weaponFaultState.sqf
Lines
21
Registration
PREP
Exposure
internal