Jump to content

Recommended Posts

I am new to developing mods and I have recently encountered some problems that have puzzled me.

When I tried to change the display scope of firesuppressor's deployhelper, I found some changes that I didn't understand. When I change
inst.helper.AnimState:SetScale(1, 1, 1) to
inst.helper.AnimState:SetScale(2, 2, 2),
I found deployhelper inside the game shows that the radius of the changed into 2 times, But when I change
inst.helper.Transform:SetScale (1, 1, 1) to
inst.helper.Transform:SetScale (2, 2, 2),
I found deployhelper in game shows radius into 4 times!!!
Why this change? Why not 2 times?
This made me feel very confused, I hope someone here can solve my confusion.

myCode.png

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...