I tried to add the fanning pattern, but the script won't run. Here's my current @MainLoop:
@MainLoop {
SetCollisionA(240, 150, 32);
SetCollisionB(240, 150, 24);
if(frame==60){
CreateShot01(GetX, GetY, 3, -20, RED12, 0)
CreateShot01(GetX, GetY, 3, -15, RED12, 0)
CreateShot01(GetX, GetY, 3, -10, RED12, 0)
CreateShot01(GetX, GetY, 3, -5, RED12, 0)
CreateShot01(GetX, GetY, 3, 0, RED12, 0)
CreateShot01(GetX, GetY, 3, 5, RED12, 0)
CreateShot01(GetX, GetY, 3, 10, RED12, 0)
CreateShot01(GetX, GetY, 3, 15, RED12, 0)
CreateShot01(GetX, GetY, 3, 20, RED12, 0)
}
if(frame==20){
CreateShot01(240, 150, 3, GetAngleToPlayer, YELLOW01, 10);
CreateShot01(230, 150, 3, GetAngleToPlayer, YELLOW01, 10);
CreateShot01(250, 150, 3, GetAngleToPlayer, YELLOW01, 10);
CreateShot01(260, 150, 3, GetAngleToPlayer, YELLOW01, 10);
CreateShot01(270, 150, 3, GetAngleToPlayer, YELLOW01, 10);
CreateShot01(220, 150, 3, GetAngleToPlayer, YELLOW01, 10);
CreateShot01(210, 150, 3, GetAngleToPlayer, YELLOW01, 10);
frame = 0;
}
frame++;
}
Where did I go wrong? Another thing- when I try to set the LastSpell to false like this:
LastSpell(false);
It won't run properly.