mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fixes FSM parameter mixup...
This commit is contained in:
parent
2dc231eb9e
commit
6d640c8416
@ -138,7 +138,7 @@ end
|
|||||||
-- @param Core.Set#SET_GROUP SetGroup
|
-- @param Core.Set#SET_GROUP SetGroup
|
||||||
-- @param #string ClientName
|
-- @param #string ClientName
|
||||||
-- @param Wrapper.Group#GROUP AIGroup
|
-- @param Wrapper.Group#GROUP AIGroup
|
||||||
function AIBALANCER:onenterSpawning( SetGroup, ClientName )
|
function AIBALANCER:onenterSpawning( SetGroup, Event, From, To, ClientName )
|
||||||
|
|
||||||
-- OK, Spawn a new group from the default SpawnAI object provided.
|
-- OK, Spawn a new group from the default SpawnAI object provided.
|
||||||
local AIGroup = self.SpawnAI:Spawn()
|
local AIGroup = self.SpawnAI:Spawn()
|
||||||
@ -151,7 +151,7 @@ end
|
|||||||
--- @param #AIBALANCER self
|
--- @param #AIBALANCER self
|
||||||
-- @param Core.Set#SET_GROUP SetGroup
|
-- @param Core.Set#SET_GROUP SetGroup
|
||||||
-- @param Wrapper.Group#GROUP AIGroup
|
-- @param Wrapper.Group#GROUP AIGroup
|
||||||
function AIBALANCER:onenterDestroying( SetGroup, AIGroup )
|
function AIBALANCER:onenterDestroying( SetGroup, Event, From, To, AIGroup )
|
||||||
|
|
||||||
AIGroup:Destroy()
|
AIGroup:Destroy()
|
||||||
end
|
end
|
||||||
@ -159,7 +159,7 @@ end
|
|||||||
--- @param #AIBALANCER self
|
--- @param #AIBALANCER self
|
||||||
-- @param Core.Set#SET_GROUP SetGroup
|
-- @param Core.Set#SET_GROUP SetGroup
|
||||||
-- @param Wrapper.Group#GROUP AIGroup
|
-- @param Wrapper.Group#GROUP AIGroup
|
||||||
function AIBALANCER:onenterReturning( SetGroup, AIGroup )
|
function AIBALANCER:onenterReturning( SetGroup, Event, From, To, AIGroup )
|
||||||
|
|
||||||
local AIGroupTemplate = AIGroup:GetTemplate()
|
local AIGroupTemplate = AIGroup:GetTemplate()
|
||||||
if self.ToHomeAirbase == true then
|
if self.ToHomeAirbase == true then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user