How to do hp result result in approximately?
I have something like that:
HP: 10.5902358209/15
That makes that problem when i put regenerate 0.0005 every 1 tick and i want to make show only 11 hp in ~
Please answer, ty :)
Several ways using expressions.
say your variable is HP and it's equal to 10.2343234
When you want to do something with it say Floor(HP) and it will equal 10.
You can also use Ceil or Round
scirra.com/manual/126/system-expressions
Develop games in your browser. Powerful, performant & highly capable.
Thanks, i will write an result when i done it.
Ok, thanks man, all right now :)