I have a collision fill region actor that spawns these worms when the player contacts it....when i destroy the momma bird I want the collision fill actor to be destroyed with it so it no longer creates the worm actors.....I cant figure it out...
this is the Bullet Collsion script... so when the bullet his the momma bird the hp changes .....im trying to get the collision fill region to be destroyed at case 2
switch (MommaHP)
case 0: //full health
{
ChangeAnimation("MommaBirdHp", "hearts2", FORWARD);
MommaHP=1;
break;
case 1: //2 hearts
ChangeAnimation("MommaBirdHp", "hearts1", FORWARD);
MommaHP=2;
break;
case 2: // 0 hearts
ChangeAnimation("MommaBirdHp", "hearts0", FORWARD);
\
DestroyActor("wormBullet");
DestroyActor("mommaBirdOne");
DestroyActor("WormTwo");
DestroyActor("wormpukeTwo");
CollisionState("wormpukeTwo", DISABLE);
MommaHP=3;
break;
}