When I check the coin values they’re all the same.
Am I doing something wrong?
When I check the coin values they’re all the same.
Am I doing something wrong?
if you could show us your code or a picture or any description of the problem that would be better
Every single coin has the same value of 8 when the hero says it.
Every single coin has the same value of 3 when I left click it on the interface.
The problem is caused by resetting idx
at the start of the while loop.
You need to use a for
loop to check the value of the coins, because at the moment you’re just reading the value of coins[0]
omg thanks, i thought that was outside the while loop for some reason.
heh you did my job for me @MarmiteOnToast