hi
this function has a strange problem.


action l1_func()
{
pXent_settype(my,PH_STATIC,PH_POLY);
pXent_settriggerflag(my, NX_TRIGGER_ENABLE, 1);
my.event = l1_funcTrigger;
wait(-1);
ent_remove(me);
}

ent_remove make an error.
if i comment line "pXent_settriggerflag" there is no error.
what is the problem?