Group: Forum Members
Posts: 3,
Visits: 5
|
Hi! I´m trying to implement a Stroop-Task with achievement-badges. The badges will be shown via short video-animations after accomplishing the achievement. My problem is that the videos will be shown over and over again in every trial. How can i remove the video-animation after showing it for one single time? I tried using removestimulusframe, resetstimulusframe and clearstimulusframe, but neither one worked. I guess the problem could also be in the condititonal statements which I use:
<block myblock> /onblockend = [if (values.myvalue==500 && values.achievement_accomplished==0) {values.achievement_accomplished = 1; values.badge_animation =1}]
<trial mytrial> /ontrialbegin = [if (achievement_accomplished ==1) trial.mytrial.insertstimulusframe(video.badge_animation, 1)] /ontrialend = [if (values.badge_animation =1) {trial.mytrial.removestimulusframe (1); values.badge_animation=0}]
I appreciate any assistance. Thanks in advance
-Marius
|