Im not quite sure what you are trying to explain, Please provide your capx, it gives us more of a chance to help you.
Are your soldiers separate sprites or just different instances of one?
You might have to assign a separate id to each soldier, in the sprites properties panel,
Try explain the game more,
Are you setting a cursor to the mouses position, and if the cursor collided with a soldier you want it to fire?