EntityCollided

Blitz3D Forums/Blitz3D Beginners Area/EntityCollided

Happy Sammy(Posted 2009) [#1]
Hi all,

According to the b3d help, EntityCollided
Returns the handle of the entity of the specified type that collided with the specified entity.


Who = EntityCollided(Player, ENEMY)

If my player hit three enemies at the same time, which one would be returned? (either one?)
Is it possible to get all these handles of these three enemies?

Thanks in advance


Ross C(Posted 2009) [#2]
I think collision entity will be of more help to you :o)

http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionEntity


Happy Sammy(Posted 2009) [#3]
Thank you, Ross C.