Is there a way that I can check for individual collisions of objects that are all in the same group?
I have 4 objects that belong to Group 1 (obj# 20,21,22,23)
Is there a way that I can check if I hit object 20 and then object 21 later on?
Here is the code:
Questioncollide = sc_sphereSlideGroup(1,oldx#,oldy#,oldz#,x#,y#,z#,10,10)
if Questioncollide > 0
if sc_sphereSlide(20,oldx#,oldy#,oldz#,x#,y#,z#,10,0)
sprite 100,0,380,100
endif
if sc_sphereSlide(21,oldx#,oldy#,oldz#,x#,y#,z#,10,0)
sprite 101,0,380,101
endif
if sc_sphereSlide(22,oldx#,oldy#,oldz#,x#,y#,z#,10,0)
sprite 102,0,380,102
endif
if sc_sphereSlide(22,oldx#,oldy#,oldz#,x#,y#,z#,10,0)
sprite 103,0,380,103
endif
endif
I am chechking to see if I collide with a group 1 obj so that it will get the collision and keep me from going into the object..
then, individually I want to make a sprite if I collide with that specific object