yeah, im dumb. but please help. im making an arcade style autoscrolling game and need to know how to make it random that an enemy will drop either a lifeup item (1/10 chance or so) or money (about 4/10 chance). i do it as when OBJECT is destroyed set Alt Val B (already using a) to random(9). then if B=1 drop heart B=2-5 drop money, but it just creates tons of money and/or hearts! what can i do!? thanks
If the destroyed animation is playing, it will keep generating numbers and using them.
Do
When Enemy is destroyed, Set Alterable ValB to "random(9"
AND set Alterable ValB to 10.