How do i use Fmath::Max?
I am trying to figure out how to actually USE Max.
I want to find the max value between 3 values in one of my functions, but i can't figure out how i am supposed to use this.
I get this error if i try to use it.
Are you including the library? Pretty sure it is: #include "Kismet/KismetMathLibrary.h"
Then FMath::Max3(health, mana, energy);
answered Jun 10 '15 at 12:07 AM
you should use like:
answered Jan 15 '18 at 12:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here