name    	Rocket
type    	none
speed		30
gfxshadow	1
lifespan  	1
nolife          1
remove		0
subject_to_gravity 0
candamage       player npc obstacle


anim idle
	loop	1
	delay	6
	followcond 1
	followanim 1
	offset	24 10
	attack	26 5 19 10 20 1 0 0 15 15
	dropv	2 4 0
	frame	data/chars/misc/arrow/rocket1.png
	frame	data/chars/misc/arrow/rocket2.png

anim follow1
@script
    void self = getlocalvar("self");

    if (frame == 1){
      changeentityproperty(self, "velocity", 0, 0, 0);
    }
@end_script
	delay	5
	offset	24 10
	spawnframe 1 0 0 0 0
	custentity GXplos
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
