Um, try rephrasing your post like this:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have made
some code where
I create several object
s:
for e=1 to 61
make object sphere e+11, 10
m=rnd(1)
n=rnd(1)
if m=1
z=1
else
z=-1
endif
if n=1
y=1
else
y=-1
endif
position object e+11, -y*z*rnd(490),5,z*rnd(490)
color object e+11, rgb(5,5,6)
next e
Now I'm trying to make
some code that will check so that when each object is hit by the main sphere, the object gets deleted and I get the points. I
'm having issues but here
's what
I have:
for x=12 to 62
if object collision(11,x)>0
score=score+100
delete object x
endif
next x
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And, why don't you just try this:
delete object object collision(11,0)
score=score+100
instead of that second code snippet.