Also ich hab den Code für den Sniperzoom so:
BMAP* sniper_bmap = "sniper.tga";
PANEL* scope_pan =
{
pos_x = 0;
pos_y = 0;
layer = 2;
bmap = sniper_bmap;
flags = OVERLAY | VISIBLE;

}
function zoom()
{
while(1)
{
if (mouse_right == 1)
{
camera.arc -= time_step * 8;
scope_pan.alpha += 2;
if (camera.arc <= 10)
{
camera.arc = 10;
}
if (scope_pan.alpha >= 45)
{
scope_pan.alpha = 50;
}
wait(1);
}
else
{
camera.arc += time_step * 12;
scope_pan.alpha -= 3;
if (camera.arc >= 60)
{
camera.arc = 60;
}
if (scope_pan.alpha <= 5)
{
scope_pan.alpha = 0;
}
wait(1);
}
}
wait(1);
}






geht das soo??
also es funktioniert, aber ist es aus eurer sicht eine gute möglichkeit??


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*