Group: Forum Members
Posts: 7,
Visits: 66
|
Dear all,
I'm struggling to create an experiment in which Inquisit randomly selects one of my three trial types. I've got multiple trials differing in how fast a stimulus will be presented after the mouse click of a participant. I would like to add a condition in which the trials are selected randomly.
my branching code:
/ branch = [if (trial.1to4arrow_direct_500.response == "player4label") trial.1to3arrow_direct_500_excluded] / branch = [if (trial.1to4arrow_direct_500.response == 0) trial.1to4_direct_500]
In both the trial.1to3arrow_direct_500_excluded and the trial.1to4_direct_500 the "500" stands for the ms it takes for a stimulus to appear. I created two other conditions in which the ms are 1000 and 1500. I would like to create a condition in which inquisit randomly selects the 500, 1000 or 1500 ms trial. I started making a <list> element with all the trials, however, now I am not sure how to tell inquisit to randomly select a trial from that list (including the if statements for the responses).
I hope this makes sense, if not, I could try explaining it with my whole code but since it is quite elaborate I hope this is clear enough.
Thank you in advance for helping!
Kind regards, Esther
|