by metal_pt » Wed Sep 19, 2007 1:35 pm
Ok, here's the way I would make it:
Use a local integer variable named "chase" (for instance) and make it equal to 0(zero).
Create a timer in the fireball.
When timer finishes chase=1;
In the drawactor:
if(chase==1)
{
follow the player;
(if you use the MoveTo function) chase=2;
}else
if(chase==0)
shoot in the direction enemy is facing;
And you should use the MoveTo function like tekdino said. This way you can avoid walls or other kind of things.
]v[eta[_ - Using GE since June, 15 2007
Currently using v1.3.8 Registered