Sign in to follow this  
SecretlyAPotato

How would one go about creating a healing item with multiple uses?

Recommended Posts

-t-    227

Any item that heals players on use has the 'healer' component which handles the healing. It's Heal() function is coded to remove the item no matter what so to create a new healing item you could:

1. AddComponentPostInit and change the component to have multiple uses.

or

2. Create a new component that handles healing and make it have multiple uses.

Share this post


Link to post
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
Sign in to follow this