Drake is getting lazier and lazier nowadays....
Anywho, what he means is make a task and have it loop yield; a few times to wait frames before doing something else. "Wait(x);" isn't actually a command that you can use, rather a function that most people create when throwing together stage scripts. Helps others know what's going on.
The code he means would look something like this:
script_enemy_main{
task ShotBurst(let x, let y, let angle){
CreateShot01(x, y, 3, angle, BLUE50, 0);
loop(10){yield;} //This pauses the task for ten frames. Will only work if you also have "yield;" in @MainLoop.
CreateShot01(x, y, 3, angle, BLUE50, 0);
loop(10){yield;}
CreateShot01(x, y, 3, angle, BLUE50, 0);
//etc.
}
let frame = 0;
@Initialize{
//blah blah...
}
@MainLoop{
frame++;
if(frame==120){
ShotBurst(GetX, GetY, GetAngleToPlayer);
frame = 0;
}
yield;
}
//etc.
This would start the task "ShotBurst" every two seconds, meaning that every two seconds three bursts of shots will be fired, one ten frames after the other, and so on. Make sure to include "yield;" at the end of your @MainLoop, so that all other yield; commands work correctly within tasks.
Edit: Damnit Iryan