I've been using scratch for years, and I'm very fluent with the program. However, one thing that is always bugging me is the mods, and now I need to use it in a game I'm making. I'm trying to make sure that every (random seconds) a message will be broadcasted. I made a variable, known as "rate," that shows the speed of the projectiles heading towards the player (it is in negatives. Example: If rate equals -4, then x changes by -4. To clarify this, picture a weapon charging to the LEFT of the screen towards the player.) I want to base this mod off the rate, so that every random seconds based on the rate a new message will be broadcasted, prompting a weapon to appear and move (Rate) x towards the player. How would you write this script? Please help!
So far I tried using a timer, (rate-random numbers)mod(0) etc. Ugh
Offline