If you use an type_no that has no entities associated to it, causes a crash.
Serious:-
"Attempt to accessfield or method of Null object"
In this example There are no entities with the entitytype of 99.
not so serious :-
"Attempt to index array elements beyond array length"
In this example An unrealistically high type_no.
Serious:-
"Attempt to accessfield or method of Null object"
In this example There are no entities with the entitytype of 99.
If EntityCollided(ent, 99) Then ' EndIf
not so serious :-
"Attempt to index array elements beyond array length"
In this example An unrealistically high type_no.
If EntityCollided(ent, 9999) Then ' EndIf