feat(optics): add standalone air flir addon

This commit is contained in:
2026-06-23 22:13:07 -03:00
parent 38417d1d8b
commit ac86a519e7
14 changed files with 782 additions and 0 deletions
@@ -0,0 +1,16 @@
/*
Author: Brazilian Armed Forces
File: fn_shutdownRSC.sqf
Purpose:
- Stop the EachFrame loop and clear the generic air FLIR runtime state
*/
private _pfh = uiNamespace getVariable ["BRAF_FLIR_PFH_eachFrame", -1];
if (_pfh > -1) then {
removeMissionEventHandler ["EachFrame", _pfh];
};
uiNamespace setVariable ["BRAF_FLIR_PFH_eachFrame", nil];
uiNamespace setVariable ["BRAF_FLIR_UI_Display", nil];