Re: Updating Player Health and Damage power
Do you mean you want to increase damage and health per match fought, or according to some "level" stat you're adding in? Either way, it's not supported out of the box, you'd need to mod it in...
Re: Updating Player Health and Damage power
Thank you for you replay,
And also can i create levels in game?
Re: Updating Player Health and Damage power
As in stages? Yes, of course. But UFE doesn't have any way to make them from within Unity itself.
The best recommendation is to create it in your 3D package (Maya, Max, Blender etc) and import it into Unity as an FBX.
If you have something like Pro Builder, you could create levels in Unity with that to some degree. There's a small mod to ensure it works properly though.
5 2015-03-05 05:53:12 (edited by hardiknadiyapara 2015-03-05 05:53:37)
Re: Updating Player Health and Damage power
I write below code to change the damageOnHit
UFE.UFE_Config.player1Character.moves [0].attackMoves [0].hits [0].damageOnHit = 15.0f;
but it give me an error that
"An object reference is required to access non-static member `UFE.UFE_Config'"
Re: Updating Player Health and Damage power
Try "UFE.config" instead.
Re: Updating Player Health and Damage power
Make sure you read this page as well (coding with UFE):
http://ufe3d.com/doku.php/code
Questions about the Forum? Check out our Karma FAQ.