hi
i want to play a sound when my ball collide with abjects based on their material.

collision for ball and grass sound1.wav
collision for ball and stone sound2.wav


but my problem is in pXent_setcollisionflag command i can just set one object to inform me collision with my object.
what about the others?

i can't use this code:
pXent_setcollisionflag ( entity1, entity2, NX_NOTIFY_ON_START_TOUCH)
ent.event = EventImpact1;

pXent_setcollisionflag ( entity1, entity3, NX_NOTIFY_ON_START_TOUCH)
ent.event = EventImpact2;

is there any solution?