i ve tried this
...
temp.x+=500;
dist=c_trace(my.x,temp.x,Ignore_ME|USE_BOX);

and engine give me only distance to models in level ,wall absolutely indetectable:)

i want script : if object is in dist (50m) call function.

Last edited by piposlav; 02/19/07 17:41.