Why does this not work?
So basically i have this function, which is actually from unreal engine official tuturial about moba ai, but it does return only first option to my minions, i'm pretty sure the maths is right in this function (1st screenshot), "Team" can be 0 or 1 and "Lane" can be 0, 1 or 2. Team and Lane variables in my ai is set correctly but when it comes to maths, it only returns the first option, all the time, even if Team = 1, and Lane = 2 (which after the calculations must give 5 (6th option)) So i need help to see where is the problem. Thanks.
Follow this question
Once you sign in you will be able to subscribe for any updates here