I could be wrong on this, but you should probably set the entity1 = me using a type entity synonym, then instead of refering to my.entity1 you could just say entity1.
you set entity1 to you, meaning a different entity, so that object might always exist. Try something like:
SYNONYM entity1 { TYPE ENTITY; }
function my_flame()
{
while(entity1 != null)
{Do_flame_stuff;
wait(1);}
remove(me);
}
action front_flame
{
entity1 = me;
my_flame();
}
If you need more help feel free to email me.
Brandon
[This message has been edited by AcidCrow (edited 13 May 2001).]