Topic: Increase Player LifePoints Runtime

I wish to increase life points of my character runtime. My actual requirement is that when i beat opponent then after i have to increase my life points either in persantage or in points (constants) through script. I wish to implements this functionality dynamically.

Thank you in Advance

Share

Thumbs up Thumbs down

Re: Increase Player LifePoints Runtime

Have a look at this post.

Also, check out this more recent one from roswell.

Neither actually go into Survivial Mode specifics, but at least explain coding up an Arcade Mode (which you'd need before you make Survival).

Just remember that characters are destroyed at the end of each match and are newly instantiated at the start.  So before even thinking about health regen, I'd think about keeping the same health at the next game first... from there, regen won't be hard. wink

Good luck!

Share

Thumbs up Thumbs down

3 (edited by SudhirKotila 2015-04-02 09:15:41)

Re: Increase Player LifePoints Runtime

I have try this UFE.SetLifePoints () method.

Ex : UFE.SetLifePoints (10000, winner);

But my player's helth can't increase. can you tell me how to use this method?

You have any demo code for this functionality?

I have write this code at OnGameEnds() method.

Share

Thumbs up Thumbs down