Added comments, added base framework for respawning

This commit is contained in:
Jeremy Smitherman
2018-12-24 20:54:30 -06:00
parent d3efee7595
commit 07de403128
2 changed files with 227 additions and 47 deletions

View File

@@ -20,3 +20,13 @@ HOGGIT.listContains = function(list, elem)
return false
end
HOGGIT.GroupIsAlive = function(group)
local grp = nil
if type(group) == "string" then
grp = Group.getByName(group)
else
grp = group
end
if grp and grp:isExist() and grp:getSize() > 0 then return true else return false end
end