EntityCollided

Blitz3D Forums/Blitz3D Beginners Area/EntityCollided

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Sledge, guess what?! I'm still having friggin' problems with this friggin' code!

I tried:
For bullet.bullet = Each bullet
		
		MoveEntity bullet\entity, 0, 0, -bullet\speed#
		
		For x = 1 To CountCollisions(bullet\entity)
		
			entity = CollisionEntity(bullet\entity, x)
			
			player.player = Object.player(EntityName(entity))
			
				player\health = player\health - 1
			
		Next

And I'm so very close, but it highlights the
player\health = player\health - 1

line, and says "Object does not exist!"

The object does exist, by golly, because I said so! For all of Mark Sibly's godliness, this whole collisions issue really sucks.

Edit: Sledge, what did you use for Ice-Teroids bullets?