Jump to content

[Help] Weapon that recharge itself overtime.


Recommended Posts

Hi, I'm a total newbie to modding. I'm creating a weapon that only usable when reached 100% and slowly decrease durability as times goes. 

Now I'm trying to make it recharge itself from 0% but seems stuck and couldn't find away.

If anyone can help me with a line of codes or some suggestion that would be great.

Thank you all very much!!!

Link to comment
Share on other sites

On 6/4/2020 at 8:34 AM, KingAlpha said:

slowly decrease durability as times goes. 

How exactly did you implement this? Time-based durability screams "perishable component" and if that't the case, then recharge can be simply changing the localPerishMultiplier to a negative value.

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...