Jump to content

How to fix clicking through a scaled-up anim?

Recommended Posts

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
	inst.AnimState:SetScale(scale, scale)


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...