. . . Posted October 30, 2016 Share Posted October 30, 2016 (edited) 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 ! Edited October 30, 2016 by SuperDavid Link to comment https://forums.kleientertainment.com/forums/topic/71256-solved-how-to-give-character-proper-coldness-immunity/ Share on other sites More sharing options...
Leonardo Cox Posted October 30, 2016 Share Posted October 30, 2016 (edited) Edit: Nevermind, I can't read. Edited October 30, 2016 by DarkKingBoo Link to comment https://forums.kleientertainment.com/forums/topic/71256-solved-how-to-give-character-proper-coldness-immunity/#findComment-831010 Share on other sites More sharing options...
Leonardo Cox Posted October 30, 2016 Share Posted October 30, 2016 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. Link to comment https://forums.kleientertainment.com/forums/topic/71256-solved-how-to-give-character-proper-coldness-immunity/#findComment-831016 Share on other sites More sharing options...
. . . Posted October 30, 2016 Author Share Posted October 30, 2016 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 ! 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 ! Link to comment https://forums.kleientertainment.com/forums/topic/71256-solved-how-to-give-character-proper-coldness-immunity/#findComment-831017 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