Group: Forum Members
Posts: 7,
Visits: 66
|
Dear all,
For my adjusted cyberball experiment I would like to modify the time interval between the mouse click of the participant and the "response of the ball". For example, the participant clicks on player 1 to throw the ball to player 1 but the gif showing the ball movement will only start 500 ms after the mouse click.
Is it possible to do this in Inquisit? Or do I have to modify the gif so that it will just show a picture for the first 500 ms?
script for player 3 throwing ball to player 2 (participant) and player 2 to player 1:
<trial 3to2> /ontrialbegin = [values.player = 2] / stimulusframes = [1= 3to2, player1label, player2label, player3label, player4label] / validresponse = (text.player1label, text.player3label, text.player4label) / inputdevice = mouse /ontrialend = [if (trial.3to2.response == "player1label") {values.recipient = 1; values.count_player2throws += 1}] /ontrialend = [if (trial.3to2.response == "player3label") {values.recipient = 3; values.count_player2throws += 1}] /ontrialend = [if (trial.3to2.response == "player4label") {values.recipient = 4;values.count_player2throws += 1}] / branch = [if (values.recipient == 1) trial.2to1] / branch = [if (values.recipient == 3) trial.2to3] / branch = [if (values.recipient == 4) trial.2to4] </trial>
<trial 2to1> /ontrialbegin = [values.player = 1] / stimulusframes = [1= 2to1, player1label, player2label, player3label, player4label] / validresponse = (noresponse) / inputdevice = mouse /ontrialend = [if (list.player1schedule.nextvalue == 2) {values.recipient = 2; values.count_player1throws += 1}] /ontrialend = [if (list.player1schedule.nextvalue == 3) {values.recipient = 3; values.count_player1throws += 1}] /ontrialend = [if (list.player1schedule.nextvalue == 4) {values.recipient = 4; values.count_player1throws += 1}] / trialduration = expressions.cyberdecisiontime / branch = [if (list.player1schedule.currentvalue == 2) trial.1to2] / branch = [if (list.player1schedule.currentvalue == 3) trial.1to3] / branch = [if (list.player1schedule.currentvalue == 4) trial.1to4]
Thank you in advance!
Kind regards,
Esther
|