hey all,
noob to c2 here.. just wondering if there is some way to do this:
when the player shoots a rock, the rock explodes and sometimes either gold, silver or bronze pieces appear (all different sprites).
I first check a random number (1,20) and compare with a constant (10, let's say)
if Rand = Constant then spawn object (which works for one object)
but I need:
case Rand:
ConstantA: then spawn objectA
ConstantB: then spawn objectB
ConstantC: then spawn objectC
ConstantD: then spawn objectD
end case
Thanks!