mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
14 lines
747 B
Lua
14 lines
747 B
Lua
|
|
local US_PlanesClientSet = SET_CLIENT:New():FilterCountries( "USA" ):FilterCategories( "plane" ):FilterStart()
|
|
local US_PlanesSpawn1 = SPAWN:New( "AI US 1" )
|
|
local US_PlanesSpawn2 = SPAWN:New( "AI US 2" )
|
|
local US_AIBalancer = AIBALANCER:New( US_PlanesClientSet, { US_PlanesSpawn1, US_PlanesSpawn2 } )
|
|
|
|
local RU_PlanesClientSet = SET_CLIENT:New():FilterCountries( "RUSSIA" ):FilterCategories( "plane" ):FilterStart()
|
|
local RU_PlanesSpawn = SPAWN:New( "AI RU" )
|
|
local RU_AIBalancer = AIBALANCER:New( RU_PlanesClientSet, RU_PlanesSpawn )
|
|
|
|
local RU_AirbasesSet = SET_AIRBASE:New():FilterCoalitions("red"):FilterStart()
|
|
RU_AirbasesSet:Flush()
|
|
RU_AIBalancer:ReturnToNearestAirbases( 10000, RU_AirbasesSet )
|
|
--RU_AIBalancer:ReturnToHomeAirbase( 10000 ) |