DestroyerofNorth Posted August 1, 2015 Share Posted August 1, 2015 I want that my character take less damage like a passive armor could someoen help me? Link to comment https://forums.kleientertainment.com/forums/topic/56689-help-with-coding-pls/ Share on other sites More sharing options...
zUsername Posted August 1, 2015 Share Posted August 1, 2015 I want that my character take less damage like a passive armor could someoen help me? Maybe this will help you inst.components.health:SetAbsorptionAmount(1)-- 1 mean 100%. Link to comment https://forums.kleientertainment.com/forums/topic/56689-help-with-coding-pls/#findComment-659167 Share on other sites More sharing options...
DestroyerofNorth Posted August 1, 2015 Author Share Posted August 1, 2015 So i need to write something like 0.2 for 20%? Link to comment https://forums.kleientertainment.com/forums/topic/56689-help-with-coding-pls/#findComment-659168 Share on other sites More sharing options...
zUsername Posted August 1, 2015 Share Posted August 1, 2015 So i need to write something like 0.2 for 20%? Yes.Or you can take a look in woodie.lua ( at the "onbecamebeaver" function ). Link to comment https://forums.kleientertainment.com/forums/topic/56689-help-with-coding-pls/#findComment-659171 Share on other sites More sharing options...
DestroyerofNorth Posted August 1, 2015 Author Share Posted August 1, 2015 thx guy Link to comment https://forums.kleientertainment.com/forums/topic/56689-help-with-coding-pls/#findComment-659172 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