Group: Forum Members
Posts: 12,
Visits: 102
|
Hi there,
I'm having an issue with the BART script for Inquisit 4 downloaded from the webpage. When testing the task, the "Collect $$$" button which is meant to show up during the task is instead replaced by the "Pump the balloon" button (screenshot attached).
I've had a look at the script and there doesn't appear to be any issues with the wrong picture stimulus etc. However, for the
<trial choice> ..
if the / stimulustimes is altered so that collectbutton is ordered after pumpbutton, both clickable buttons then become "Collect $$$" (i.e. collectbutton).
the original code and altered code that I changed are below. I haven't been able to test on another computer but will confirm if this occurs anyway. Any help on this would be great, been scratching my head about it trying to get an answer!
Thanks Warren
my altered code: = [1=balloon, pumpbutton, collectbutton, totalearnings, pumpcount, potentialearnings, ballooncount]
original code:
<trial choice> / ontrialbegin = [values.countchoice += 1] / ontrialbegin = [values.pumpresult = list.pumpresult.nextvalue]
/ontrialbegin = [if (values.pumpsound == 1) trial.choice.insertstimulustime(sound.inflatesound,0)] /ontrialbegin = [values.pumpsound = 0]
/ stimulustimes = [1=collectbutton, balloon, pumpbutton, totalearnings, pumpcount, potentialearnings, ballooncount] / inputdevice = mouse / validresponse = (collectbutton, pumpbutton)
|