Pappenheimer ich danke dir.


Jetzt hats endlich hingehauen. Ich weiß zwar nicht, ob du dir das so vorgestellt hast; ich zeig dir mal das Script.

Code:
 void Quest_trigger_01()
{
	
	set(my, INVISIBLE | PASSABLE);

		
	while(1)
	{
		if(QuestsTutorial_01 == 1)
		{
			break;
		}
		
		if(vec_dist(Hero->x, my.x) >500)
		{
			QuestsTutorial_01 = 0;
			
		}
		if(vec_dist(Hero->x, my.x) <500)
		{
			QuestsTutorial_01 = 1;
		}
		
		wait(1);
	}
 	
} 	



Aber egal. Es läuft. Super. Herzlichen dank smile


A7 Com V7.80