Hab keine Ahnung ob das was bringt, aber probiere mal die ganze Sache in einer seperaten Function unter zu bringen...

Also das hier:

Code:
my = ent_create("sturmtroper.mdl", vector(1, 200, -243), gehen_sturmtroper);
ent_create("gun.mdl", vector(1, 200, -243), gun_mit);
ent_create("explo+11.tga", vector(300,400,-243), explosion);
camera.x = -180;
camera.y = -138;
camera.z = -202;
camera.pan = 39;
camera.tilt = -10;
while(1)
{
camera.x = sturmtroper.x - 300;
camera.y = sturmtroper.y;
wait (1);  // Das Wait kommt inne While net ausserhalb, wie es bei dir der Fall ist !
}




Schreib einfach mal:

Function Test{ <--Camera Code here--> }

Dann starteste die Function in der Main Function, indem du einfach das in die Main schreibst:

Test();


Hoffe das es jetzt ma klappt ^^

Gruß Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE