Archangel
04-30-2009, 08:56 PM
ffc script Zora2{
void run(int count){
npc zora = Screen->CreateNPC(191);
while(zora->isValid()){
if(zora->Tile >= 2220){
for(count = 1; count >= 20; count++){
eweapon fs = Screen->CreateEWeapon(139);
fs->X = zora->X;
fs->Y = zora->Y;
fs->Angle = findAngle(fs->X, fs->Y, Link->X, Link->Y);
fs->Damage = 8;
fs->Angular = true;
fs->Step = 200;
PlaySound(13);
Waitframes(6);
}
}
}
}
}
Won't even compile, keep getting T21 error on PlaySound(13); saying it can't match the signature of PlaySound(Float)?
I changed playsound(13); to a comment and ZC freezes... :(
I change CreateNPC to LoadNPC and now it freezes when I try to load my game...
FFC combo starts on screen init moving continue screen to 67, started find but when I went to screen 7 link walked off the screen and the game froze.
EDIT: You know what... Fuck it, I'll just make them dive faster and shoot stronger projectiles. :angry: damn critical bugs...
void run(int count){
npc zora = Screen->CreateNPC(191);
while(zora->isValid()){
if(zora->Tile >= 2220){
for(count = 1; count >= 20; count++){
eweapon fs = Screen->CreateEWeapon(139);
fs->X = zora->X;
fs->Y = zora->Y;
fs->Angle = findAngle(fs->X, fs->Y, Link->X, Link->Y);
fs->Damage = 8;
fs->Angular = true;
fs->Step = 200;
PlaySound(13);
Waitframes(6);
}
}
}
}
}
Won't even compile, keep getting T21 error on PlaySound(13); saying it can't match the signature of PlaySound(Float)?
I changed playsound(13); to a comment and ZC freezes... :(
I change CreateNPC to LoadNPC and now it freezes when I try to load my game...
FFC combo starts on screen init moving continue screen to 67, started find but when I went to screen 7 link walked off the screen and the game froze.
EDIT: You know what... Fuck it, I'll just make them dive faster and shoot stronger projectiles. :angry: damn critical bugs...