Hello.
I know that setting the final parameter in OBJECT COLLISION to zero will check all collisions and return the number of the object that is in contact with the collision object but what if there is more than one object there?
For example; a spaceship is damaged and on fire. Particle objects are used to show the fire but now when using OBJECT COLLISION(obj,0) the object number of the fire particle is always returned even if the spaceship continues to take hits and should therefore be in collision with bullet objects.
There are two ways around this that I can see but neither of them are suitable for my needs:
1) Move the fire particles so that they are outside the spaceships collision sphere.
2) Put a number in the final parameter of the OBJECT COLLISION command to check for specific collisions.
The first idea is not praticle because it looks crappy and the second idea involves using a large FOR...NEXT loop to check for all the objects that are not fire particles.
So, is there any way to set a range for OBJECT COLLISION so that it could ingore cartain object numbers and only check for objects within its range?
Thanks.
My latest project has no name - feel free to suggest one. Think 'Lunar Lander' with multiplayer, guns and bombs!
