Parent Child Relationships
Posted: Thu Aug 19, 2004 9:13 am
I have an enemy ship.
When the enemy ship is created it creates two child actors (guns).
You can shoot the guns leaving only the ship.
I want it so that when the last gun is destroyed the ship is destroyed.
How can an actor know if all of its children are dead?
When the enemy ship is created it creates two child actors (guns).
You can shoot the guns leaving only the ship.
I want it so that when the last gun is destroyed the ship is destroyed.
How can an actor know if all of its children are dead?