One routine for different subject group

Hello!

OS (e.g. Win10): w10
PsychoPy version (e.g. 1.84.x): 2023.2.3
Standard Standalone? (y/n) If not then what?:y

I would like to generate different stimulus (video, sound and letter) depending subject group

I have created a routine (ENT) and a loop (trial_3) and i specify in trial_3 a condition file with multiple columns where there are my letter, my video location and sound location, moreover i have created a variable (group_choice) that contain the information of the group selection (3 different group, the first with sound stimulus, the second with video stimulus and the last with letter stimulus)

I don’t know how to generate these different stimulus for each group in the same routine (ENT) depending of my initial group selection.

Any suggestion?
Thnaks!