Thanks for your help!
mouse_range changing has not solved the problem because it was my mistake:
I had forgotten a function which generates fog about all entities near the camera. This explains the strange script behaviour too because the fog layed about all other entities.


Gamestudio: A7.82 Commercial/A8 Commercial
System specs (Laptop):
Windows 7 64bit
DirectX v10.1
Intel Core i7-720QM CPU @ 1,60 GHz
4GB DDR2 Ram
NVIDIA GeForce GT 230M (1024MB)