initial files

This commit is contained in:
Samuele Lorefice
2025-05-24 16:17:33 +02:00
commit 9e023649ac
477 changed files with 118566 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
if ( isDedicated ) exitWith {};
if ( isNil "sector_timer" ) then { sector_timer = 0 };
params [ "_fob", "_status" ];
private [ "_fobname" ];
_fobname = [_fob] call KPLIB_fnc_getFobName;
if ( _status == 0 ) then {
[ "lib_fob_built", [ _fobname ] ] call BIS_fnc_showNotification;
};
if ( _status == 1 ) then {
[ "lib_fob_attacked", [ _fobname ] ] call BIS_fnc_showNotification;
"opfor_capture_marker" setMarkerPosLocal _fob;
sector_timer = GRLIB_vulnerability_timer;
};
if ( _status == 2 ) then {
[ "lib_fob_lost", [ _fobname ] ] call BIS_fnc_showNotification;
"opfor_capture_marker" setMarkerPosLocal markers_reset;
sector_timer = 0;
};
if ( _status == 3 ) then {
[ "lib_fob_safe", [ _fobname ] ] call BIS_fnc_showNotification;
"opfor_capture_marker" setMarkerPosLocal markers_reset;
sector_timer = 0;
};