Redrum313 Posted January 20, 2014 Share Posted January 20, 2014 Looking fora bit of code to slowly regenerate 1% ticks of fuel in a fueled , equipped handslot item. I dont believe there's any such code I can just copy from anywhere. Any geniuses out there with a moment to spare? Link to comment https://forums.kleientertainment.com/forums/topic/31026-trying-to-incrementally-increase-fuel-in-fueled-item/ Share on other sites More sharing options...
Redrum313 Posted January 20, 2014 Author Share Posted January 20, 2014 Could I possibly tell it to start consuming fuel at a negative value? Link to comment https://forums.kleientertainment.com/forums/topic/31026-trying-to-incrementally-increase-fuel-in-fueled-item/#findComment-406225 Share on other sites More sharing options...
TheDanaAddams Posted January 21, 2014 Share Posted January 21, 2014 Could I possibly tell it to start consuming fuel at a negative value?That would have been my first attempt. And I don't see why it wouldn't work.If that doesn't work, have a look at using the 'do periodic task' thing (which I've never used, but know exists) to replenish the fuel at given intervals. I'm afraid I can't recall any examples off-hand that use the 'do periodic task' code. Link to comment https://forums.kleientertainment.com/forums/topic/31026-trying-to-incrementally-increase-fuel-in-fueled-item/#findComment-406798 Share on other sites More sharing options...
NikMik Posted January 23, 2014 Share Posted January 23, 2014 That would have been my first attempt. And I don't see why it wouldn't work.If that doesn't work, have a look at using the 'do periodic task' thing (which I've never used, but know exists) to replenish the fuel at given intervals. I'm afraid I can't recall any examples off-hand that use the 'do periodic task' code.The red amulet's "healowner" preiodic task? Link to comment https://forums.kleientertainment.com/forums/topic/31026-trying-to-incrementally-increase-fuel-in-fueled-item/#findComment-407568 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