Berwin Posted December 3, 2017 Share Posted December 3, 2017 Hi I need some help with where to put some a piece of script. I have added health to my structures which works fine, but the problem is when they are set on fire the flames reduce the health quite a bit but then it stops with a remaining high value. I want to insert a bit of code at the point where the structure is charred/burnt and set it's health to 1. I thought it was in the OnKilled bit of burnable.lua but that didn't work for me. Link to comment https://forums.kleientertainment.com/forums/topic/85034-trouble-with-burnable-component/ 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