Anyway, to monitor this I thought about using a simple inventory item that is given to the parent actor, up to 4, so it knows how many have been spawned, and when one dies, take away one of the items. That's when I realized that I didn't know how to tell the offspring to remove the item from the inventory of the parent.
Therefore, my suggestion:
Code: Select all
A_GiveToMaster
A_TakeFromMaster
A_GiveToChildren
A_TakeFromChildren
So what do you think? Is this doable?