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,23 @@
if ( isDedicated ) exitWith {};
params [ "_attack_destination" ];
if ( isNil "GRLIB_last_incoming_notif_time" ) then { GRLIB_last_incoming_notif_time = -9999 };
if ( time > GRLIB_last_incoming_notif_time + 60 ) then {
GRLIB_last_incoming_notif_time = time;
private [ "_attack_location_name" ];
_attack_location_name = [_attack_destination] call KPLIB_fnc_getLocationName;
[ "lib_incoming", [ _attack_location_name ] ] call BIS_fnc_showNotification;
private [ "_mrk" ];
_mrk = createMarkerLocal [ "opfor_incoming_marker", _attack_destination];
"opfor_incoming_marker" setMarkerTypeLocal "selector_selectedMission";
"opfor_incoming_marker" setMarkerColorLocal GRLIB_color_enemy_bright;
sleep 250;
deleteMarkerLocal _mrk;
};