mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
COMMANDCENTER class added, Event handlers added, HQs working with missions
- Handling menus - Reporting missions - ...
This commit is contained in:
@@ -8,7 +8,9 @@ end
|
||||
|
||||
collectgarbage()
|
||||
|
||||
local Mission = MISSION:New( 'SEAD Targets', "Strategic", "SEAD the enemy", coalition.side.RED )
|
||||
local HQ = COMMANDCENTER:New( GROUP:FindByName( "HQ" ) )
|
||||
|
||||
local Mission = MISSION:New( HQ, 'SEAD Targets', "Strategic", "SEAD the enemy", coalition.side.RED )
|
||||
local Scoring = SCORING:New( "SEAD" )
|
||||
|
||||
Mission:AddScoring( Scoring )
|
||||
@@ -43,7 +45,4 @@ function FsmSEAD:onenterUpdated( TaskUnit )
|
||||
self:Smoke()
|
||||
end
|
||||
|
||||
-- Needs to be checked, should not be necessary ...
|
||||
TaskSEAD:AssignToGroup( SEADSet:Get( "Test SEAD" ) )
|
||||
|
||||
Mission:AddTask( TaskSEAD )
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user