lua\AI\OpAI\AirAttacks_save.lua
['OSB_Child_AirAttacks_T1Platoon1'] = {
PlatoonTemplate = 'OST_AirAttacks_T1Platoon1',
Priority = 693,
InstanceCount = 3,
LocationType = 'MAIN',
PlatoonType = 'Air',
RequiresConstruction = true,
PlatoonAIFunction = {'/lua/ScenarioPlatoonAI.lua', 'DefaultOSBasePatrol',
{'default_platoon'},
{'default_platoon'}
},
BuildConditions = {
[0] = {'/lua/ai/opai/airattacks_editorfunctions.lua', 'AirAttackChildCountDifficulty',
{'default_brain','default_master'},
{'default_brain','default_master'}
},
[1] = {'/lua/editor/amplatoonhelperfunctions.lua', 'AMCheckPlatoonLock',
{'default_brain','default_master'},
{'default_brain','default_master'}
},
},
PlatoonData = {
{type = 5, name = 'AMPlatoons', value = {
{type = 2, name = 'String_0', value = 'OSB_Master_AirAttacks'},
{type = 2, name = 'APPEND_PlatoonChild', value = 'OSB_Master_AirAttacks'},
}},
},
ChildrenType = { 'Bombers', },
},
Statistics: Posted by speed2 — 25 Mar 2016, 15:46
opai:SetChildQuantity({'Bombers', 'Interceptors'}, 8) - Platoon of 4 Bombers and 4 Interceptors
Statistics: Posted by KeyBlue — 24 Mar 2016, 22:25