Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Break loop if one of two conditions presented

edited November 2015 in OpenSesame

Hello,

I have another question regarding a second task I will present the participant. In this one, they're asked to remember a particular event.

I would like to present one of two conditions, randomly selected. I ask the participant to recall an event where they felt either sad or proud. I created a loop with a variable Condition with two values: ‘sad’ and ‘pride’. I then created a sequence with a form_text_display asking to recall an event in which they felt [Condition].

I want to leave the loop once one condition has been called, I don’t want them to remember one event for each condition. I also would like to tell OpenSesame that out of the 200 participants I aim to test, I want 50% in each condition.

Is it possible to do this in OpenSesame and if so, how can I do it? Does it require an inline_script or just playing around with the properties of the loop?

Many thanks for your help!

Comments

  • edited 2:24AM

    Hi Eglantine,

    If i read it correctly you could just set the amount of cycles in your loop to 2 and set the amount of repeats to 0.5, in this way only one of the two conditions will be presented and the loop will end once it is presented. Make sure the order is set to random though.

    If you want more control over the assignment of conditions (to be certain every condition is presented 50% of the time) you could also use the parity of the subject number as an indication which condition is presented. This is explained better than i could do it here

  • edited November 2015

    Hi there,

    many thanks that is brilliant!

    Does it mean I just need to add an inline_script in the loop to control the assignment with the parity of the subject number?

  • edited 2:24AM

    Yes that is correct, make sure to place the inline_script before the loop starts!

  • edited 2:24AM

    It's great!
    Cheers!

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games