SpiderPig Posted November 27, 2011 Share Posted November 27, 2011 I want to have each LOD level of a model too execute a script... Should it be done with the GetModelLODEntity() command? I've tried giving the models LOD1.gmf a script of it's own but it doesn't seem to execute when the LOD level changes in the editor... Any ideas? Quote Link to comment Share on other sites More sharing options...
Rick Posted November 27, 2011 Share Posted November 27, 2011 Taking a guess at this, but you'll probably have to call that function inside your 1 model script and do different logic inside this 1 model script based on what current LOD is displayed. You can do this in the Update() function since it gets called each frame. Quote Link to comment Share on other sites More sharing options...
VeTaL Posted November 27, 2011 Share Posted November 27, 2011 Agree: i guess, all logic should be in one script and you should just check GetModelLODEntity() and run different commands depending on LOD level. Quote Working on LeaFAQ Link to comment Share on other sites More sharing options...
SpiderPig Posted November 27, 2011 Author Share Posted November 27, 2011 Ahh, thanks for the replies, shall give it a try Quote 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.