Identify an enemy in Bucle + Type (code provided)

Blitz3D Forums/Blitz3D Programming/Identify an enemy in Bucle + Type (code provided)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Because you're storing the remaining/current life of the enemy in a field in your type, so everytime you check the mouse position against the current position of each enemy, you take off some 'life' from the enemy that matches.

Or have I missed something obvious? :o)