Question: gml how to use alarm?
Answer: Create my alarm in the create event of the object - i.e. alarm[0] = 0;
Set the "trigger" for the alarm in the step event of the object. ... 
Inside the alarm the action you want to happen is triggered when the alarm is finished. ... 
Then you can trigger the alarm again in the step event!