Jump to content

Recommended Posts

Hello, I have a question.

So, like the title how can you give a character total coldness immunity? Coldness as in not being able to freeze from things like the ice staff or deerclops.

Currently I use " inst.components.freezable:SetResistance(100) " but this doesn't grant coldness immunity it just slows it... Would anyone know how to do a total coldness immunity? Thanks for reading :D!

Edited by SuperDavid

I don't mean to make a double post, but to make up for my inability to read, I did some testing.

The only way I found to be completely immune to coldness completely is just removing the freezable component with this:

inst:RemoveComponent("freezable")

 

Otherwise if you set the resistance high enough (I tested 500) you won't even get the coldness tint.

 

4 minutes ago, DarkKingBoo said:

I don't mean to make a double post, but to make up for my inability to read, I did some testing.

The only way I found to be completely immune to coldness completely is just removing the freezable component with this:

inst:RemoveComponent("freezable")

 

Otherwise if you set the resistance high enough (I tested 500) you won't even get the coldness tint.

 

Thanks a lot bro :D! I removed the freezable component before but it crashes the game because my character's technically perma "frozen" when I need to add cold resistance. So, I guess i'll just make his resistance 999 that should work :lol:!

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