How to get numbers to continuously and randomly run across the screen


Author
Message
uni-student92084
uni-student92084
Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)Partner Member (722 reputation)
Group: Forum Members
Posts: 57, Visits: 172
Greetings all, 
I am fairly new to Inquisit and I am trying to get a set number of values to continuously run across the bottom of the screen. I figured out the animation to run a number across the bottom of the screen but I can't get more than two numbers to do so. 

I have two groups of numbers and I would like to pull from both groups randomly but I can't figure out how to format my trials so that I can pull from either of the files more than once. I will put down below what my script currently looks like. 

Current Script: 

<item Repscore>
/1 = "score1"
/2 = "score2"
/3 = "score3"
</item>

<item Demscore>
/1= "score1"
/2= "score2"
/3= "score3"
</item>

<text Repscore>
/items = Repscore
/txcolor = (red)
/txbgcolor = (white)
/animation = path (5000, 1, 0%, 90%, 100%, 90%)
</text>

<text Demscore>
/items= Demscore
/txcolor = blue
/animation = path (5000, 1 0%, 90%, 100%, 90%)

<trial run1>
/ validresponse = ("E", "I")
/ correctresponse = ("E")
/ beginresponsetime = 0
/ stimulustimes = [0= replace(Demscore); 1000= replace(Repscore); 2000= replace(Demscore)]
</trial>

When I run this script, for some reason, it only runs the first Demscore and not the second so, when I want another " Demscore" to follow the first "Repscore" that doesn't happen. 

What I would like to ideally happen is to repeatedly pull from the two groups of "scores" so that there is a continuous flow of numbers.

Any help or advice would be greatly appreciated, thank you!  
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search