Code:
ffc script Zora2{
	void run(){
		npc zora = Screen->CreateNPC(33);
		while(zora->isValid()){
			if(zora->Tile >= 2520){
				for(int count = 1; count <= 10; count++){
					eweapon fs = Screen->CreateEWeapon();
					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 = 300;
					Game->PlaySound(13);
					Waitframes(6);
				}
			}
			Waitframe();
		}
	}
}
Okay, first of all... There is no way I could of done this without help from two very special people. Pkmnfrk and Joe123, thank you so much for helping me come this far on my scripting journey and for all your help and support. It's much appreciated. And thanks

Now let's get cracking shall we.

  • You must have new enemy tiles enabled under quest rules.
  • If you want it not to shoot fireballs, you'll have to disable them some how.
    I changed the 33 under line 3 to a the ID of a enemy I made in the enemy editor that was a Zora clone with no weapon.
  • If you're using different tiles then default tiles, then make sure you use the shooting tiles for the number in line 5.
    That's animation row 5 & 6 by the way.


I think that's pretty much everything you need to know. The Zora by itself won't breathe fire, so make sure you use the script under a ffc to place them and not the enemy editor.

Enjoy!

EDIT: Forgot to mention... You'll need to import advmath.zh from my sig by pkmnfrk to make it work.