CBRN · Hazard simulation
cbrnGetProtection
FF_cbrn_fnc_cbrnGetProtection
publicPREP65 lines
Description
Resolves facewear, backpack, and remaining filter or air protection.
- Arguments
- 0: Unit <OBJECT>, 1: Effective CBRN configuration <HASHMAP>
- Returns
- [protected <BOOL>, mode <STRING>, minutesRemaining <NUMBER>]
Example
[player, call FF_cbrn_fnc_cbrnGetConfig] call FF_cbrn_fnc_cbrnGetProtection
Source
- File
x\FF\addons\cbrn\fnc_cbrnGetProtection.sqf- Lines
- 65
- Registration
- PREP
- Exposure
- public