conditional trajectories


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!

Is it possible to program, e.g., the following:

Let's say I have 4 "room descriptions" that are presented with 2-4 items in each room. You can click on one item at a time, which will lead to its own description, but then returns to the room description. To go from room to room, there are "keys" that get presented following 1 of 4 different contingencies: i) all items have to be clicked on, ii) the same item has to be clicked on twice, iii) the same item has to be clicked on twice in a row, and iv) after the 6th click.
Essentially, I'm envisioning something like,
<trial room1>
/stimulusframes = [ room1description, item1, item2, item3, item4, item1description, item2description, item3description, item4description ]
/branch = [ (if trial.room1.response == "item1"){ return item1description; }

And, with each item description, I have a return button that returns to the room description, unless the contingency for that room is met. The problems I'm running into are that I have two separate trials for each "item" (which is really a link to its description) and "item description", when everything has to be randomized. By everything I mean which contingency is applied to which room and the overall order of the rooms need to be randomized.

Any help would be greatly appreciated.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
troyh - 5 Years Ago
Dave - 5 Years Ago
troyh - 5 Years Ago
Dave - 5 Years Ago
                     Or a bit more concise: <values> / roomconstraint = 0 /...
Dave - 5 Years Ago
troyh - 5 Years Ago
troyh - 5 Years Ago
Dave - 5 Years Ago
troyh - 5 Years Ago
             help!
troyh - 5 Years Ago
Dave - 5 Years Ago
                     Got it. Will do. This is incredibly helpful
troyh - 5 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search