@woods No, a for loop is not like an alarm at all. They are the exact opposite. A for loop will always execute it's entire range from 0 to n in a single step, whereas alarms are specifically designed to take n-steps until they execute. What maru was talking about is that you have the option of increasing or decreasing the amount of time a countdown timer will "move" in the step event, whereas you don't in the alarm event.
For instance:
Step Event code:
Code:
timer += 2;
if (timer > room_speed) {
// Do thing
timer = 0;
}
This codeblock will be activated every room_speed/2 steps, despite the fact that it's trigger is actually room_speed. You could add a variable, like timer += timer_step, and then you have a timer that you can directly control how fast or slow it counts down, without having to change the point at which it triggers. You can't do this with alarms. How useful it is, is up to you to decide, but that's the general point.