Hi, i need this: I have 4 private variable and i need when private variable1 is smallest do actions, and when private variable2 is smalest do actions.... Pls how to?
Develop games in your browser. Powerful, performant & highly capable.
There are ways to do this, you can use compare private variables or evaluate.
v1 = min(v1, v2, v3, v4)
-> do action 1
v2 = min(v1, v2, v3, v4)
-> do action 2