I have a points system set up and I would like to see if the total points falls within range of 2 numbers to determine what level the player should be.
For example the player would need a total of 80 points to be Level 1 and 200 points to be Level 2.
If the player has 145 points, how do set the player level to 1?
Any help will be greatly appreciated.
Thanks
This is pretty simple. Just test the integer with this, in C++:
bool IsIntInRange(int32 Number, int32 LowerBound, int32 UpperBound)
{
bool bIsMoreThanLowerBound = Number > LowerBound;
bool bIsLessThanUpperBound = Number < UpperBound;
return bIsMoreThanLowerBound && bIsLessThanUpperBound;
}
or the equivalent in BP (&& would be an AND node for the booleans you get from the number comparisons). You’d then use the return bool to test if the player is a certain level. Super simple stuff 
I though it would be
Thanks