If/then with scan codes


Author
Message
troyh
troyh
Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)Partner Member (638 reputation)
Group: Forum Members
Posts: 38, Visits: 190
Hello,
I'm trying to set up a study, where there are 3 pictures on the screen at once and participants use key presses to select the pictures, e.g. H is Pic1, J is Pic2, and K is Pic3. The next trial depends on which picture they select, though I may be totally incompetent because I cannot seem to create a branch for scan codes, i.e. 
   [ if(trial.trial1.response == 35) trial.nexttrial] .
There is no error in my message list but Inquisit seems to just ignore it because the script ends without branching. Is there a way to create such a conditional with scan codes?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search