Windstrike Posted August 16, 2016 Share Posted August 16, 2016 I'm working in a character and the question is.. I Launch a Life Regeneration in the char when arrives the Night: inst.components.health:StartRegen(3, 1) This works fine. Buy I want to stop this regeneration when arrives the day: inst.components.health:StopRegen() This not works.. and when Night Arrives Again the regeneration is stopped. Ideas? Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/69598-need-help-to-healthstopregen/ Share on other sites More sharing options...
Farxodor Posted August 17, 2016 Share Posted August 17, 2016 (edited) I would guess the problem lies with when/how you are calling these methods. Especially given that regeneration stops on the next night. Could you post the code controlling when you call those methods? Edited August 17, 2016 by Farxodor Link to comment https://forums.kleientertainment.com/forums/topic/69598-need-help-to-healthstopregen/#findComment-804397 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