Anstatt der beiden Actions verschachtel das ganz mal in einer Function...
Das entfernen der Entitys machst du dann nochmals ausserhalb in einer Seperaten Function.

Beispiel:
Code:
Function Shoot
{
  if(key_a==1)
  {
   //baller wild rum
  }

  if(key_d==1)
  {
   //baller wild rum #2
  }
}

Function Remove_Bullet
{
//remove me (beide Pouinter abfragen
}



cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE