I used a Equal node and it returns 2=0 as a true. what is the problem ?

I want to get a random respawn point between 3 points.
I wanted to respawn obj x when random res point is index 0.
As you see in pic, the return value of random is 2 but the equal node returns true 2=0 !!!

“pure” nodes, and seems Random call in this case - will be called each time their pins are accessed. So your result and debug print you seeing in fact are different values.

I suggest you to try to save the result of Random call into a local variable and then print the local variable instead of Random

You were right thanks.
I fixing by geting only index of random node and get array item based on that index next.