mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixes
This commit is contained in:
parent
83f8e76584
commit
3612d5d171
@ -240,9 +240,8 @@ function AI_ESCORT_REQUEST:SpawnEscort()
|
|||||||
Report:Add( "Joining Up " .. self.EscortGroupSet:GetUnitTypeNames():Text( ", " ) .. " from " .. LeaderEscort:GetCoordinate():ToString( self.EscortUnit ) )
|
Report:Add( "Joining Up " .. self.EscortGroupSet:GetUnitTypeNames():Text( ", " ) .. " from " .. LeaderEscort:GetCoordinate():ToString( self.EscortUnit ) )
|
||||||
LeaderEscort:MessageTypeToGroup( Report:Text(), MESSAGE.Type.Information, self.PlayerUnit )
|
LeaderEscort:MessageTypeToGroup( Report:Text(), MESSAGE.Type.Information, self.PlayerUnit )
|
||||||
|
|
||||||
if self.SpawnMode == self.__Enum.Mode.Formation then
|
self:SetFlightModeFormation( EscortGroup )
|
||||||
self:SetFlightModeFormation( EscortGroup )
|
self:FormationTrail()
|
||||||
end
|
|
||||||
|
|
||||||
self:_InitFlightMenus()
|
self:_InitFlightMenus()
|
||||||
self:_InitEscortMenus( EscortGroup )
|
self:_InitEscortMenus( EscortGroup )
|
||||||
|
|||||||
@ -701,6 +701,13 @@ end
|
|||||||
function AI_FORMATION:onafterFormationLine( FollowGroupSet, From , Event , To, XStart, XSpace, YStart, YSpace, ZStart, ZSpace, Formation ) --R2.1
|
function AI_FORMATION:onafterFormationLine( FollowGroupSet, From , Event , To, XStart, XSpace, YStart, YSpace, ZStart, ZSpace, Formation ) --R2.1
|
||||||
self:F( { FollowGroupSet, From , Event ,To, XStart, XSpace, YStart, YSpace, ZStart, ZSpace, Formation } )
|
self:F( { FollowGroupSet, From , Event ,To, XStart, XSpace, YStart, YSpace, ZStart, ZSpace, Formation } )
|
||||||
|
|
||||||
|
XStart = XStart or self.XStart
|
||||||
|
XSpace = XSpace or self.XSpace
|
||||||
|
YStart = YStart or self.YStart
|
||||||
|
YSpace = YSpace or self.YSpace
|
||||||
|
ZStart = ZStart or self.ZStart
|
||||||
|
ZSpace = ZSpace or self.ZSpace
|
||||||
|
|
||||||
FollowGroupSet:Flush( self )
|
FollowGroupSet:Flush( self )
|
||||||
|
|
||||||
local FollowSet = FollowGroupSet:GetSet()
|
local FollowSet = FollowGroupSet:GetSet()
|
||||||
@ -1093,10 +1100,10 @@ function AI_FORMATION:onenterFollowing( FollowGroupSet ) --R2.1
|
|||||||
-- @param Wrapper.Unit#UNIT ClientUnit
|
-- @param Wrapper.Unit#UNIT ClientUnit
|
||||||
function( FollowGroup, Formation, ClientUnit, CT1, CV1, CT2, CV2 )
|
function( FollowGroup, Formation, ClientUnit, CT1, CV1, CT2, CV2 )
|
||||||
|
|
||||||
self:I({Mode=FollowGroup:GetState( FollowGroup, "Mode" )})
|
|
||||||
|
|
||||||
if FollowGroup:GetState( FollowGroup, "Mode" ) == self.__Enum.Mode.Formation then
|
if FollowGroup:GetState( FollowGroup, "Mode" ) == self.__Enum.Mode.Formation then
|
||||||
|
|
||||||
|
self:I({Mode=FollowGroup:GetState( FollowGroup, "Mode" )})
|
||||||
|
|
||||||
FollowGroup:OptionROTEvadeFire()
|
FollowGroup:OptionROTEvadeFire()
|
||||||
FollowGroup:OptionROEReturnFire()
|
FollowGroup:OptionROEReturnFire()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user