Posted 23 July 2006 - 02:38 AM
I'm making a small Electroplankton remake and I need to make my plankton object to choose a random sound when it collides with the leaf, but I can't find a way to do it. I know I can make one Plankton object for each sound, but I need it to play a random one each time it hits a leaf.
Please help me!
Posted 23 July 2006 - 05:14 AM
Creation of Leaf:
Whatever = choose(sound1,sound2,sound3);
in Plankton- collision with Leaf:
That should work.
Posted 23 July 2006 - 03:45 PM
EDIT: thanks! I've modified what you said a little: I've put the sound choose in the step event of the plankton, so it will be changing sounds every step. thanks again!
Edited by M Volcan, 27 July 2006 - 12:52 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users