myxal Posted July 19, 2020 Share Posted July 19, 2020 I maintain Large Chest. I never used the bigger icebox in my games, so only now I noticed that when trying to click on the scaled-up icebox, I have to click within the area of the size of the normal icebox, otherwise I click through to whatever's behind the icebox. The large chest uses unscaled pandoras_chest assets, which is why I didn't notice it there. Is there a way to fix this? Going through the game files I see SetScale being used only on various NOCLICK prefabs (effects, reticules, etc.) -- largeicebox.lua local scale = 1.5 ... fn() ... inst.AnimState:SetBank("icebox") inst.AnimState:SetBuild("ice_box") inst.AnimState:PlayAnimation("closed") inst.AnimState:SetScale(scale, scale) Link to comment https://forums.kleientertainment.com/forums/topic/120228-how-to-fix-clicking-through-a-scaled-up-anim/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now