Thanks for your answer.

I try show more details:
This doesn t work.

Code:
void Go()
{
}

action Fly()
{	
   set (my, PASSABLE);
   my.skill15 = Go;
}

void RunAsync()
{
   	ENTITY* ent;
	you = ent_next(NULL);
 	while (you) 
	{ 
		if(you.string1 != NULL)
		{
			if(str_cmpi(you.string1,"vogel"))
			{	
				ent= you;
				break;
			}
		}
			 
 		you = ent_next(you); 
 	}

	void act();
	act = ent.skill15;
		
	act();
}