First of all so you all can see the desire effect for yourselves. Switch a fire wizzrobes projectile to rising fireballs and make them teleport instead of float. I want a ghoma to fire fireballs in a ring. How can I do this. THis is what I tried.
Code:
ffc script Gohma5{
void run(int count){
while(true){
npc gohma = Screen->LoadNPC(2);
for(count = 8; count <= 8; count++){ //shoot 8 fireballs in right
npc gohma = Screen->LoadNPC(2);
eweapon fireball = Screen->CreateEWeapon(145);
fireball->X = gohma->X;
fireball->Y = gohma->Y;
fireball->Dir = count - 1;
waitframe();
} //ends for loop
Waitframes(30);
} //ends while loop
} //ends void run
} //ends script
Compiled just find. Doesn't work worth a shit though. Try it out yourself. Oh and if you want to see what the gohma does, attach it to a digdogger using my displacement script.