Loading and Colliding with 3 objects for scoring...help plz :)

Blitz3D Forums/Blitz3D Programming/Loading and Colliding with 3 objects for scoring...help plz :)

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

How does a newbie like me load in 3 objects (for scoring) and then hit each one individually. What I need it to do is only 1 object translating and score=1 at a time, but what happening is all 3 of my objects translate and my score=3 as soon as I hit the first one. Think of Mario and coins, when Mario gets the first coin you do not want all the coins to dissapear, well that's whats happening to me.

I am using the 'car' sample that comes with B3D, I just wanna hit objects and have my score increased.
Here is the relative code;

Const BODY=1,WHEEL=2,SCENE=3
Const POINTOBSa=1
Const POINTOBSb=1
Const POINTOBSc=1
Collisions BODY,SCENE,2,3
Collisions WHEEL,SCENE,2,3
Collisions BODY,POINTOBSa,2,3
Collisions BODY,POINTOBSb,2,3
Collisions BODY,POINTOBSc,2,3

;Load Point Obs
pointa=LoadMesh( "./meshes/POINTS_OBS1.x" )
EntityType pointa, POINTOBSa
pointb=LoadMesh( "./meshes/POINTS_OBS2.x" )
EntityType pointb, POINTOBSb
pointc=LoadMesh( "./meshes/POINTS_OBS3.x" )
EntityType pointc, POINTOBSc

;Points Collisions
If EntityCollided (car,POINTOBSa)
score=score+1
TranslateEntity pointa, 0,100,0
EndIf
If EntityCollided (car,POINTOBSb)
score=score+1
TranslateEntity pointb, 0,100,0
EndIf
If EntityCollided (car,POINTOBSc)
score=score+1
TranslateEntity pointc, 0,100,0
EndIf

tx in advance for any help.

I figured it out. I needed to change my 'Const' from;
Const POINTOBSa=1
Const POINTOBSb=1
Const POINTOBSc=1

to

Const POINTOBSa=4
Const POINTOBSb=5
Const POINTOBSc=6

now I can collect my point objects on at a time and have my score reflect as such.