Alienhead Posted Saturday at 02:13 AM Share Posted Saturday at 02:13 AM 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 I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Dreikblack Posted Saturday at 02:25 AM Share Posted Saturday at 02:25 AM 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 Saturday at 02:30 AM Author Share Posted Saturday at 02:30 AM 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 I'm only happy when I'm coding, I'm only coding when I'm happy. 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.