name	2spawn
type	none
shadow	0


anim idle
@script
    void self = getlocalvar("self");
    int x = getentityproperty(self,"x"); //Get character's x coordinate
    int z = getentityproperty(self,"z"); //Get character's z coordinate
    int a = getentityproperty(self,"a"); //Get character's a coordinate
    int dir = getentityproperty(self,"direction"); //Get character's facing direction
    int P2 = getplayerproperty(1, "entity");

    changeentityproperty(P2, "position", x, z, a);
    changeentityproperty(P2, "direction", dir);

    killentity(self); //Suicide!
@end_script
	loop	1
	delay	5
	offset	1 1
	frame	data/chars/misc/empty.gif
