Sorry for another question, it's to do with late activating units.
KryRed = SET_GROUP:New():FilterCoalitions("red"):FilterPrefixes("DAR","SAM"):FilterStart()
KryRed = SET_GROUP:New():FilterCoalitions("red"):FilterPrefixes("DAR"):FilterStart()
both returns nil, not using both at the same time, but
KryRed = GROUP:FindByName("DAR") or KryRed = GROUP:FindByName("SAM")
works, just wanted to check I'm not missing something. Only spawning two groups to test with at the moment, trying to respawn the groups after they've both been destroyed.
Again I can't thank you enough for the help and the framework.
EDIT:- just to clarify
not GROUP:IsAlive() can't tell me if it's late activated & destroyed only that it's either late activated or destroyed? any other way to determine if it's been late activated and destroyed?