entitycollided - how do i get more than one?

Blitz3D Forums/Blitz3D Beginners Area/entitycollided - how do i get more than one?

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.

Something like this any good ...

for c = 1 to countcollisions( carpiv )
entity = collisionentity( carpiv , c )
ID = getentitytype( entity )
;do stuff
next