I’m trying to keep score of duplicated movie clips to keep score when colliding with another clip. I can do it, but i have to copy this
if (this, hitTest(_root.bullet4)) {
_root.total -=10;
}
if (this, hitTest(_root.bullet5)) {
_root.total -=10;
}
continually. The bullet is renamed with a higher number with variable i, and I’m just wondering how to score it so that I don’t have to copy that code forever. Just so ya know, I’m new and suck at scripting.