showing images randomly from the same category
I've been using Open Sesame for a while now, so I've decided to start programming my experiment.
Firstly, I uploaded a bunch of different images which can actually be grouped into six different categories, and I expect that Open Sesame would randomly display one image from each category.
For the sake of clarity, I uploaded 5 different happy faces, which I named as happy-1, happy-2, happy-3, happy-4, and happy-5. I would expect that one of them would be randomly picked everytime I called for the happy condition to be showed.
Thus, I was thinking of coding something like that:
draw image center=1 file="[category_name[random1,5]]".
It does not work, though.
What would you suggest that I do?
I would really appreciate if you could help me