D
D God of Mind D
Guest
Hello, guys. I didn't found any info about it, so I ask it here.
I have character, which can gaim genetic points of 3 types: red_gene, blue_gene, green_gene.
I need to compare all three variables to find the highest of them in case to change color of the sprite to relative one. I know how to find highest variable between two, it's just if (red_gene < blue_gene). But I don't know how to do it with 3 or more variables.
I have character, which can gaim genetic points of 3 types: red_gene, blue_gene, green_gene.
I need to compare all three variables to find the highest of them in case to change color of the sprite to relative one. I know how to find highest variable between two, it's just if (red_gene < blue_gene). But I don't know how to do it with 3 or more variables.