das ist, wenn ich mich nicht irre, nur da wo das problem auftritt, mach mal:
function feuerballloschen()
{
if(event_type == EVENT_IMPACT)
{
my.skill1 = 1;
wait(1);
ent_remove(my);
return;
}
if(event_type == EVENT_BLOCK)
{
my.skill1 = 1;
wait(1);
ent_remove(my);
return;
}
}
function feuerball()
{
my.emask |= (ENABLE_BLOCK | ENABLE_IMPACT);
my.event = feuerballloschen;
while(!my.skill1)
}
c_move(my, nullvector, vector( 1, 0, 0), IGNORE_PASSABLE | GLIDE);
wait(1);
}
}