Welche {} meinst du denn jetzt? Habe ich den Fehler schon gefunden?

Code:
var enemy_movevector[3];

function detect_player()
	{
		while(1){
		
    c_trace(my.x,spieler,IGNORE_PASSABLE|IGNORE_CONTENT);
    wait(1);
    }
	}
	
	if (hit.x){
	c_move(my,enemy_movevector,target,IGNORE_PASSABLE|IGNORE_SPRITES|GLIDE|USE_POLYGON);
}
action enemy()
{
	detect_player();
}




Staub ist das neue Prime!!

Programming is like sex:
One mistake and you have to support it for the rest of your life.

Aktuelles Projekt: http://thisiswargame.bplaced.net/index.html

A8 Commercial *freu*