In my game, I want to know how much enemies exist at different times. Of course, I can use a counter var and check this. But I have an array of enemies => enemy[80]. So I would like to check my enemies like this:

if(array_length(enemy) == 20) DO SOMETHING
if(array_length(enemy) == 0) DO ANYTHING

This would only work if

ent_remove(enemy[15]);

will delete enemy[15], too.

Gets enemy[15] deleted or is it still extisting with value NULL?

I haven`t found anything about array functions in the manual. Are there none?

Ditje