Group: Administrators
Posts: 13K,
Visits: 104K
|
Define a /responsemessage for "no response" that shows a blank stimulus:
<block alcohol> / trials = [1-10 = alcohol] </block>
<picture alcohol> / items = ("1L_1.jpg","1L_2.jpg","1L_3.jpg","1L_4.jpg","1L_5.jpg","1L_6.jpg","1L_7.jpg","1L_8.jpg","1L_9.jpg","1L_10.jpg") / select = replacenorepeat / size = (80%, 80%) </picture>
<trial alcohol> / stimulusframes = [1=alcohol, alc_categories1, alc_categories2] / validresponse = (32, 37) / iscorrectresponse = [(text.alc_categories2.hposition==20% && trial.alcohol.response==32) || (text.alc_categories2.hposition==80% && trial.alcohol.response==37)] / errormessage = (alc_categories1_clicked, 500) / correctmessage = (alc_categories2_clicked, 500) / responsemessage = (0, blankscreen, 500) / timeout = 5000 </trial>
<shape blankscreen> / shape = rectangle / color = white / size = (100%, 100%) </shape>
<text alc_categories1> / items = ("Non-alcoholic beverage","Food","Non-food object") / select = replace / vposition = 50% / hposition = counter.type1pos.selectedvalue / txcolor = black </text>
<text alc_categories2> / items = ("Alcoholic beverage") / vposition = 50% / hposition = counter.type2pos.selectedvalue / txcolor = black </text>
<text alc_categories1_clicked> / items = ("Non-alcoholic beverage","Food","Non-food object") / select = text.alc_categories1.currentindex / vposition = 50% / hposition = text.alc_categories1.hposition / txcolor = red </text>
<text alc_categories2_clicked> / items = ("Alcoholic beverage") / vposition = 50% / hposition = text.alc_categories2.hposition / txcolor = red </text>
<counter type1pos> / items = (20%,80%) / select = noreplace </counter>
<counter type2pos> / items = (20%,80%) / not = (type1pos) / select = noreplace </counter>
|