Introduce an "Everything but X" in block loop
I am building a RT Comprehension task where participants see a video prime, and have to decide whether it relates to a subsequent target object (yes / no).
What I am trying to do is that on compatible trials ("yes" trials) the correct object is called. That is no problem. However, I would like that in the incompatible trials, I would like the program to display any object at random that is not the correct object. How could I do that? I created an extra column "Shown_Target" (The video prime is later called as follows: set video_src "[Shown_Target][Prime][Producer].mp4"). I introduced the numbers of the correct objects for this block, and I would like to fill the empty cells with something like a code that tells the program "any object but X".
Is this possible? I am super grateful for any help I can get
P.s. Attached (I hope) you can see the block loop for the main task.