Say there are two sprites, one with id=0, another with id=1
If I want to pick a random sprite using condition "Sprite compare instance variable id=choose(0,1)" - it doesn't work as expected! Sometimes it picks one instance, sometimes two, sometimes none.
Am I going crazy, or is there a reasonable explanation?
I tested in both C2 and C3. Example capx:
dropbox.com/s/z4zsaevq92byut3/PickWithChoose.capx
.
EDIT: Never mind, I think I know what's going on. This event loops through all instances, comparing each with choose() expression, each time calculating a different value for choose(). I wonder if this can be considered a bug...