Alienhead Posted January 4 Share Posted January 4 What is the parameters for this command ? It's not documented yet and calling Entity:SetViewRange(number) crashes the application with no error code or debug output. Quote Alienhead Components and Software Link to comment Share on other sites More sharing options...
Dreikblack Posted January 4 Share Posted January 4 In C++ SetViewRange(const int range, const bool recursive=false). So you can try Entity:SetViewRange(number, true), but it might be not being binded as well 1 Quote Link to comment Share on other sites More sharing options...
Alienhead Posted January 4 Author Share Posted January 4 Yah I guess this is a josh thing, any form of using SetViewRange crashes my code. No range setter in the editor either, so only way to do any distance culling is to manually check the distance and hide on my own.. Dang I hate that. Seems like a huge waste of processing but I have stuff int he far distance that needs clipped. Thanks anyways ! Quote Alienhead Components and Software Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.