mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Progress on SEAD
This commit is contained in:
parent
a99924d9ed
commit
22fdf034ee
@ -86,7 +86,7 @@ do -- TASK_SEAD
|
|||||||
self:__RouteToRendezVousZone( 0.1 )
|
self:__RouteToRendezVousZone( 0.1 )
|
||||||
else
|
else
|
||||||
if Task:GetRendezVousPointVec2() then
|
if Task:GetRendezVousPointVec2() then
|
||||||
self:__RouteToPoint( 0.1 )
|
self:__RouteToRendezVousPoint( 0.1 )
|
||||||
else
|
else
|
||||||
self:__ArriveAtRendezVous( 0.1 )
|
self:__ArriveAtRendezVous( 0.1 )
|
||||||
end
|
end
|
||||||
|
|||||||
@ -110,10 +110,11 @@ local TargetZone = ZONE:New( "Target Zone" )
|
|||||||
local SEADTask = TASK_SEAD:New(
|
local SEADTask = TASK_SEAD:New(
|
||||||
Mission,
|
Mission,
|
||||||
SEADSet,
|
SEADSet,
|
||||||
"SEAD Radars Vector 1"
|
"SEAD Radars Vector 1",
|
||||||
|
TargetSet
|
||||||
) -- Tasking.Task_SEAD#TASK_SEAD
|
) -- Tasking.Task_SEAD#TASK_SEAD
|
||||||
|
|
||||||
SEADTask:SetRendezVousPointVec2( TargetZone:GetPointVec2(), 6000 ) -- Done to test the RendezVousPointVec2 mechanism.
|
SEADTask:SetRendezVousPointVec2( RendezVousZone:GetPointVec2(), 6000 ) -- Done to test the RendezVousPointVec2 mechanism.
|
||||||
SEADTask:SetTargetZone( TargetZone )
|
SEADTask:SetTargetZone( TargetZone )
|
||||||
|
|
||||||
-- This is now an important part of the Task process definition.
|
-- This is now an important part of the Task process definition.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user