AI helicopter dispatcher working to load multiple infantry groups !

This commit is contained in:
FlightControl
2018-08-14 22:40:28 +02:00
parent e4f8b5afc3
commit 9650129769
5 changed files with 71 additions and 40 deletions

View File

@@ -101,7 +101,7 @@ do -- CARGO_GROUP
end
-- Then we register the new group in the database
GROUP:NewTemplate( GroupTemplate, GroupTemplate.CoalitionID, GroupTemplate.CategoryID, GroupTemplate.CountryID )
self.CargoGroup = GROUP:NewTemplate( GroupTemplate, GroupTemplate.CoalitionID, GroupTemplate.CategoryID, GroupTemplate.CountryID )
-- Now we spawn the new group based on the template created.
self.CargoObject = _DATABASE:Spawn( GroupTemplate )