Initial baseline - KP Liberation v0.96.7a Ruha variant
This commit is contained in:
28
scripts/server/sector/lose_sectors.sqf
Normal file
28
scripts/server/sector/lose_sectors.sqf
Normal file
@@ -0,0 +1,28 @@
|
||||
waitUntil { !isNil "GRLIB_all_fobs" };
|
||||
waitUntil { !isNil "blufor_sectors" };
|
||||
|
||||
sleep 5;
|
||||
|
||||
attack_in_progress = false;
|
||||
|
||||
while { GRLIB_endgame == 0 } do {
|
||||
|
||||
{
|
||||
_ownership = [ markerpos _x ] call KPLIB_fnc_getSectorOwnership;
|
||||
if ( _ownership == GRLIB_side_enemy ) then {
|
||||
[ _x ] call attack_in_progress_sector;
|
||||
};
|
||||
sleep 0.5;
|
||||
} foreach blufor_sectors;
|
||||
|
||||
{
|
||||
_ownership = [ _x ] call KPLIB_fnc_getSectorOwnership;
|
||||
if ( _ownership == GRLIB_side_enemy ) then {
|
||||
[ _x ] call attack_in_progress_fob;
|
||||
};
|
||||
sleep 0.5;
|
||||
} foreach GRLIB_all_fobs;
|
||||
|
||||
sleep 1;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user