OS: Win10
PsychoPy version: 2020.2.5
**Standard Standalone?: Yes
What are you trying to achieve?:
I am trying to display an image from my conditions file if a condition is met. Basically, I am programming an experiment that runs through sequences of numbers, 1-10, randomly, or according to a pattern. I have 10 images in my conditions files, one corresponding with each number. When number 4 is on screen, for example, I want to display the 4th image in my conditions file. When number 9 is on screen, I want to display the 9th image, etc.
What did you try to make it work?:
I tried adding index numbers to the conditions file with all the image paths and then using if statements in code components to try and call a specific image if the condition in the if statement was met (that number is displayed on screen).
What specifically went wrong when you tried that?:
The images are being called randomly and are not associated with the index numbers in the adjacent column in the conditions file.