Alienhead Posted January 4, 2025 Posted January 4, 2025 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
Dreikblack Posted January 4, 2025 Posted January 4, 2025 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 Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Alienhead Posted January 4, 2025 Author Posted January 4, 2025 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
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.