Got a first test mission working

This commit is contained in:
FlightControl
2016-07-01 09:16:16 +02:00
parent 6b942590bd
commit 7b66589cca
12 changed files with 48216 additions and 102 deletions

View File

@@ -1,5 +1,15 @@
local Mission = MISSION:New( 'SEAD Targets', "Strategic", "SEAD the enemy", "RUSSIA" )
local Scoring = SCORING:New( "SEAD" )
Mission:AddScoring( Scoring )
local Client = CLIENT:FindByName( "Test SEAD" )
local TargetSet = SET_UNIT:New():FilterPrefixes( "US Hawk SR" ):FilterStart()
local Task_SEAD = TASK2_SEAD:New( Client, TargetSet )
local Task_SEAD = TASK2_SEAD:New( Client, Mission, TargetSet )
Task_SEAD:AddScore( "Destroy", "Destroyed RADAR", 25 )
Task_SEAD:AddScore( "Success", "Destroyed all radars!!!", 100 )