Rework of SPAWN. Finished for release

This commit is contained in:
svenvandevelde
2016-03-11 12:17:29 +01:00
parent 0468462add
commit 9e9e75271c
15 changed files with 10876 additions and 441 deletions

View File

@@ -31,14 +31,17 @@ function GROUP:NewFromName( GroupName )
self:T( GroupName )
self.DCSGroup = Group.getByName( GroupName )
self.GroupName = self.DCSGroup:getName()
self.GroupID = self.DCSGroup:getID()
if self.DCSGroup then
self.GroupName = self.DCSGroup:getName()
self.GroupID = self.DCSGroup:getID()
end
return self
end
function GROUP:GetDCSGroup()
self:T( { self.GroupName } )
self.DCSGroup = Group.getByName( self.GroupName )
return self.DCSGroup
end