06.09.2010, 18:44
One CreateExplosion is enuogh, the loop creates a random value, and then creates the explosion at the pos for that value, so multiple CreateExplosions would just create multiple explosions on the same position.
The number of explosions is just definined through MAX_EXPLOSIONS (put here whatever you want) because this sets the maximum number of runs of the loop.
The number of explosions is just definined through MAX_EXPLOSIONS (put here whatever you want) because this sets the maximum number of runs of the loop.