if(mouse_left == 1) // rechte Maustaste gedrückt
{
anim_percent = 0;
snd_play(shoot_wav,100,0);
while(anim_percent < 100) {
anim_percent += 4*time_step;
ent_animate(me,"attack",anim_percent,ANM_CYCLE); // play the "stand" animation
wait(1);
}
}


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends