{"id":2972,"date":"2020-01-23T17:11:35","date_gmt":"2020-01-23T17:11:35","guid":{"rendered":"https:\/\/learnbrite.com\/academy\/interruptions\/"},"modified":"2022-06-30T07:59:05","modified_gmt":"2022-06-30T07:59:05","slug":"interruptions","status":"publish","type":"page","link":"https:\/\/hyperspace.mv\/academy\/interruptions\/","title":{"rendered":"Interruptions"},"content":{"rendered":"<html><head><meta content=\"text\/html; charset=UTF-8\" http-equiv=\"content-type\"><style type=\"text\/css\">@import url('https:\/\/themes.googleusercontent.com\/fonts\/css?kit=cGvuclDC_Z1vE_cnVEU6Ae_NZQ7StBcqH_vXVqoPMX0');.lst-kix_mqix9os3nb23-6>li:before{content:\"\\0025cf  \"}.lst-kix_hb70bb9pn8ec-7>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-7}.lst-kix_mqix9os3nb23-5>li:before{content:\"\\0025a0  \"}.lst-kix_mqix9os3nb23-1>li:before{content:\"\\0025cb  \"}.lst-kix_mqix9os3nb23-0>li:before{content:\"\\0025cf  \"}ul.lst-kix_mqix9os3nb23-1{list-style-type:none}ul.lst-kix_mqix9os3nb23-2{list-style-type:none}.lst-kix_mqix9os3nb23-7>li:before{content:\"\\0025cb  \"}.lst-kix_mqix9os3nb23-8>li:before{content:\"\\0025a0  \"}ul.lst-kix_mqix9os3nb23-0{list-style-type:none}.lst-kix_mqix9os3nb23-2>li:before{content:\"\\0025a0  \"}.lst-kix_mqix9os3nb23-3>li:before{content:\"\\0025cf  \"}.lst-kix_mqix9os3nb23-4>li:before{content:\"\\0025cb  \"}ul.lst-kix_56z2tiofmgew-4{list-style-type:none}ul.lst-kix_56z2tiofmgew-5{list-style-type:none}ul.lst-kix_4ta35vqgcrw4-8{list-style-type:none}ul.lst-kix_56z2tiofmgew-6{list-style-type:none}ul.lst-kix_56z2tiofmgew-7{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-4.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-4 0}ul.lst-kix_4ta35vqgcrw4-6{list-style-type:none}ul.lst-kix_56z2tiofmgew-0{list-style-type:none}ul.lst-kix_4ta35vqgcrw4-7{list-style-type:none}.lst-kix_riabscu7vvie-7>li:before{content:\"\\0025cb  \"}.lst-kix_riabscu7vvie-8>li:before{content:\"\\0025a0  \"}ul.lst-kix_56z2tiofmgew-1{list-style-type:none}ul.lst-kix_4ta35vqgcrw4-4{list-style-type:none}ul.lst-kix_56z2tiofmgew-2{list-style-type:none}ul.lst-kix_4ta35vqgcrw4-5{list-style-type:none}ul.lst-kix_56z2tiofmgew-3{list-style-type:none}ul.lst-kix_4ta35vqgcrw4-2{list-style-type:none}.lst-kix_hb70bb9pn8ec-8>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-8}ul.lst-kix_4ta35vqgcrw4-3{list-style-type:none}.lst-kix_riabscu7vvie-5>li:before{content:\"\\0025a0  \"}.lst-kix_riabscu7vvie-6>li:before{content:\"\\0025cf  \"}ul.lst-kix_4ta35vqgcrw4-0{list-style-type:none}ul.lst-kix_4ta35vqgcrw4-1{list-style-type:none}.lst-kix_fi01dwqpvh70-8>li:before{content:\"\\0025a0  \"}ul.lst-kix_56z2tiofmgew-8{list-style-type:none}ul.lst-kix_mqix9os3nb23-5{list-style-type:none}.lst-kix_fi01dwqpvh70-4>li:before{content:\"\\0025cb  \"}ul.lst-kix_mqix9os3nb23-6{list-style-type:none}.lst-kix_riabscu7vvie-1>li:before{content:\"\\0025cb  \"}.lst-kix_riabscu7vvie-2>li:before{content:\"\\0025a0  \"}ul.lst-kix_mqix9os3nb23-3{list-style-type:none}ul.lst-kix_riabscu7vvie-7{list-style-type:none}ul.lst-kix_mqix9os3nb23-4{list-style-type:none}ul.lst-kix_riabscu7vvie-8{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-1.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-1 0}ul.lst-kix_riabscu7vvie-5{list-style-type:none}.lst-kix_hb70bb9pn8ec-5>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-5}.lst-kix_riabscu7vvie-0>li:before{content:\"\\0025cf  \"}.lst-kix_riabscu7vvie-3>li:before{content:\"\\0025cf  \"}.lst-kix_riabscu7vvie-4>li:before{content:\"\\0025cb  \"}ul.lst-kix_riabscu7vvie-6{list-style-type:none}ul.lst-kix_mqix9os3nb23-7{list-style-type:none}ul.lst-kix_riabscu7vvie-3{list-style-type:none}.lst-kix_fi01dwqpvh70-3>li:before{content:\"\\0025cf  \"}ul.lst-kix_mqix9os3nb23-8{list-style-type:none}ul.lst-kix_riabscu7vvie-4{list-style-type:none}.lst-kix_fi01dwqpvh70-7>li:before{content:\"\\0025cb  \"}.lst-kix_hb70bb9pn8ec-1>li:before{content:\"\" counter(lst-ctn-kix_hb70bb9pn8ec-1,lower-latin) \") \"}ul.lst-kix_riabscu7vvie-1{list-style-type:none}ul.lst-kix_riabscu7vvie-2{list-style-type:none}.lst-kix_hb70bb9pn8ec-0>li:before{content:\"\" counter(lst-ctn-kix_hb70bb9pn8ec-0,decimal) \") \"}.lst-kix_hb70bb9pn8ec-2>li:before{content:\"\" counter(lst-ctn-kix_hb70bb9pn8ec-2,lower-roman) \") \"}ul.lst-kix_riabscu7vvie-0{list-style-type:none}.lst-kix_fi01dwqpvh70-6>li:before{content:\"\\0025cf  \"}.lst-kix_fi01dwqpvh70-5>li:before{content:\"\\0025a0  \"}.lst-kix_hb70bb9pn8ec-5>li:before{content:\"(\" counter(lst-ctn-kix_hb70bb9pn8ec-5,lower-roman) \") \"}.lst-kix_hb70bb9pn8ec-4>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-4}.lst-kix_hb70bb9pn8ec-4>li:before{content:\"(\" counter(lst-ctn-kix_hb70bb9pn8ec-4,lower-latin) \") \"}.lst-kix_hb70bb9pn8ec-6>li:before{content:\"\" counter(lst-ctn-kix_hb70bb9pn8ec-6,decimal) \". \"}.lst-kix_b7ir55ci2o6x-8>li:before{content:\"-  \"}ul.lst-kix_njoac5hn7z3n-0{list-style-type:none}.lst-kix_hb70bb9pn8ec-3>li:before{content:\"(\" counter(lst-ctn-kix_hb70bb9pn8ec-3,decimal) \") \"}.lst-kix_hb70bb9pn8ec-7>li:before{content:\"\" counter(lst-ctn-kix_hb70bb9pn8ec-7,lower-latin) \". \"}ul.lst-kix_njoac5hn7z3n-1{list-style-type:none}ul.lst-kix_njoac5hn7z3n-2{list-style-type:none}ul.lst-kix_njoac5hn7z3n-3{list-style-type:none}ul.lst-kix_njoac5hn7z3n-4{list-style-type:none}ul.lst-kix_njoac5hn7z3n-5{list-style-type:none}ul.lst-kix_njoac5hn7z3n-6{list-style-type:none}ul.lst-kix_njoac5hn7z3n-7{list-style-type:none}.lst-kix_b7ir55ci2o6x-6>li:before{content:\"-  \"}ul.lst-kix_njoac5hn7z3n-8{list-style-type:none}.lst-kix_b7ir55ci2o6x-7>li:before{content:\"-  \"}.lst-kix_b7ir55ci2o6x-0>li:before{content:\"-  \"}.lst-kix_b7ir55ci2o6x-2>li:before{content:\"-  \"}.lst-kix_b7ir55ci2o6x-1>li:before{content:\"-  \"}.lst-kix_b7ir55ci2o6x-5>li:before{content:\"-  \"}.lst-kix_hb70bb9pn8ec-8>li:before{content:\"\" counter(lst-ctn-kix_hb70bb9pn8ec-8,lower-roman) \". \"}.lst-kix_b7ir55ci2o6x-4>li:before{content:\"-  \"}ol.lst-kix_hb70bb9pn8ec-7.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-7 0}.lst-kix_b7ir55ci2o6x-3>li:before{content:\"-  \"}ol.lst-kix_hb70bb9pn8ec-0.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-0 0}ol.lst-kix_hb70bb9pn8ec-6.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-6 0}.lst-kix_hb70bb9pn8ec-1>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-1}.lst-kix_4ta35vqgcrw4-5>li:before{content:\"\\0025a0  \"}.lst-kix_4ta35vqgcrw4-7>li:before{content:\"\\0025cb  \"}ol.lst-kix_hb70bb9pn8ec-8.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-8 0}.lst-kix_4ta35vqgcrw4-2>li:before{content:\"\\0025a0  \"}.lst-kix_4ta35vqgcrw4-6>li:before{content:\"\\0025cf  \"}ol.lst-kix_hb70bb9pn8ec-5.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-5 0}.lst-kix_4ta35vqgcrw4-3>li:before{content:\"\\0025cf  \"}.lst-kix_4ta35vqgcrw4-4>li:before{content:\"\\0025cb  \"}.lst-kix_njoac5hn7z3n-8>li:before{content:\"\\0025a0  \"}.lst-kix_njoac5hn7z3n-6>li:before{content:\"\\0025cf  \"}ol.lst-kix_hb70bb9pn8ec-2.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-2 0}.lst-kix_4ta35vqgcrw4-8>li:before{content:\"\\0025a0  \"}.lst-kix_njoac5hn7z3n-7>li:before{content:\"\\0025cb  \"}ol.lst-kix_hb70bb9pn8ec-8{list-style-type:none}.lst-kix_njoac5hn7z3n-2>li:before{content:\"\\0025a0  \"}ol.lst-kix_hb70bb9pn8ec-7{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-6{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-5{list-style-type:none}.lst-kix_56z2tiofmgew-1>li:before{content:\"\\0025cb  \"}.lst-kix_56z2tiofmgew-3>li:before{content:\"\\0025cf  \"}.lst-kix_njoac5hn7z3n-0>li:before{content:\"\\0025cf  \"}.lst-kix_njoac5hn7z3n-4>li:before{content:\"\\0025cb  \"}.lst-kix_njoac5hn7z3n-1>li:before{content:\"\\0025cb  \"}.lst-kix_njoac5hn7z3n-5>li:before{content:\"\\0025a0  \"}.lst-kix_56z2tiofmgew-2>li:before{content:\"\\0025a0  \"}.lst-kix_56z2tiofmgew-5>li:before{content:\"\\0025a0  \"}.lst-kix_njoac5hn7z3n-3>li:before{content:\"\\0025cf  \"}.lst-kix_56z2tiofmgew-4>li:before{content:\"\\0025cb  \"}.lst-kix_56z2tiofmgew-6>li:before{content:\"\\0025cf  \"}ol.lst-kix_hb70bb9pn8ec-0{list-style-type:none}.lst-kix_4ta35vqgcrw4-1>li:before{content:\"\\0025cb  \"}.lst-kix_56z2tiofmgew-7>li:before{content:\"\\0025cb  \"}.lst-kix_hb70bb9pn8ec-2>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-2}ol.lst-kix_hb70bb9pn8ec-4{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-3{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-2{list-style-type:none}ol.lst-kix_hb70bb9pn8ec-1{list-style-type:none}.lst-kix_4ta35vqgcrw4-0>li:before{content:\"\\0025cf  \"}.lst-kix_56z2tiofmgew-8>li:before{content:\"\\0025a0  \"}ol.lst-kix_hb70bb9pn8ec-3.start{counter-reset:lst-ctn-kix_hb70bb9pn8ec-3 0}ul.lst-kix_b7ir55ci2o6x-7{list-style-type:none}ul.lst-kix_b7ir55ci2o6x-6{list-style-type:none}ul.lst-kix_b7ir55ci2o6x-8{list-style-type:none}ul.lst-kix_b7ir55ci2o6x-3{list-style-type:none}.lst-kix_fi01dwqpvh70-0>li:before{content:\"\\0025cf  \"}ul.lst-kix_b7ir55ci2o6x-2{list-style-type:none}ul.lst-kix_b7ir55ci2o6x-5{list-style-type:none}ul.lst-kix_b7ir55ci2o6x-4{list-style-type:none}.lst-kix_fi01dwqpvh70-2>li:before{content:\"\\0025a0  \"}ul.lst-kix_b7ir55ci2o6x-1{list-style-type:none}.lst-kix_fi01dwqpvh70-1>li:before{content:\"\\0025cb  \"}ul.lst-kix_b7ir55ci2o6x-0{list-style-type:none}ul.lst-kix_fi01dwqpvh70-8{list-style-type:none}ul.lst-kix_fi01dwqpvh70-7{list-style-type:none}ul.lst-kix_fi01dwqpvh70-6{list-style-type:none}ul.lst-kix_fi01dwqpvh70-5{list-style-type:none}ul.lst-kix_fi01dwqpvh70-4{list-style-type:none}ul.lst-kix_fi01dwqpvh70-3{list-style-type:none}ul.lst-kix_fi01dwqpvh70-2{list-style-type:none}ul.lst-kix_fi01dwqpvh70-1{list-style-type:none}.lst-kix_56z2tiofmgew-0>li:before{content:\"\\0025cf  \"}ul.lst-kix_fi01dwqpvh70-0{list-style-type:none}.lst-kix_hb70bb9pn8ec-0>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-0}.lst-kix_hb70bb9pn8ec-3>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-3}.lst-kix_hb70bb9pn8ec-6>li{counter-increment:lst-ctn-kix_hb70bb9pn8ec-6}li.li-bullet-0:before{margin-left:-18pt;white-space:nowrap;display:inline-block;min-width:18pt}ol{margin:0;padding:0}table td,table th{padding:0}.c11{border-right-style:solid;padding:5pt 5pt 5pt 5pt;border-bottom-color:#000000;border-top-width:1pt;border-right-width:1pt;border-left-color:#000000;vertical-align:top;border-right-color:#000000;border-left-width:1pt;border-top-style:solid;background-color:#fff2cc;border-left-style:solid;border-bottom-width:1pt;width:420.8pt;border-top-color:#000000;border-bottom-style:solid}.c17{border-right-style:solid;padding:5pt 5pt 5pt 5pt;border-bottom-color:#000000;border-top-width:1pt;border-right-width:1pt;border-left-color:#000000;vertical-align:top;border-right-color:#000000;border-left-width:1pt;border-top-style:solid;background-color:#fff2cc;border-left-style:solid;border-bottom-width:1pt;width:452.2pt;border-top-color:#000000;border-bottom-style:solid}.c13{border-right-style:solid;padding:5pt 5pt 5pt 5pt;border-bottom-color:#000000;border-top-width:0pt;border-right-width:0pt;border-left-color:#000000;vertical-align:top;border-right-color:#000000;border-left-width:0pt;border-top-style:solid;background-color:#f0f0f0;border-left-style:solid;border-bottom-width:0pt;width:468pt;border-top-color:#000000;border-bottom-style:solid}.c6{-webkit-text-decoration-skip:none;color:#1155cc;font-weight:400;text-decoration:underline;vertical-align:baseline;text-decoration-skip-ink:none;font-size:11pt;font-family:\"Arial\";font-style:normal}.c3{color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:\"Consolas\";font-style:normal}.c31{color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:16pt;font-family:\"Arial\";font-style:normal}.c2{padding-top:18pt;padding-bottom:6pt;line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}.c5{color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:\"Arial\";font-style:normal}.c26{color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:20pt;font-family:\"Arial\";font-style:normal}.c30{color:#000000;font-weight:400;text-decoration:none;vertical-align:baseline;font-size:8pt;font-family:\"Arial\";font-style:normal}.c32{color:#000000;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:\"Arial\";font-style:normal}.c29{padding-top:18pt;padding-bottom:6pt;line-height:1.15;page-break-after:avoid;text-align:left}.c24{padding-top:20pt;padding-bottom:6pt;line-height:1.15;page-break-after:avoid;text-align:left}.c21{margin-left:18pt;padding-top:3pt;padding-bottom:0pt;line-height:1.0;text-align:left}.c16{margin-left:18pt;padding-top:3pt;padding-bottom:4pt;line-height:1.0;text-align:left}.c12{border-spacing:0;border-collapse:collapse;margin-right:auto}.c4{padding-top:0pt;padding-bottom:0pt;line-height:1.15;text-align:left}.c36{text-decoration-skip-ink:none;-webkit-text-decoration-skip:none;color:#1155cc;text-decoration:underline}.c25{padding-top:10pt;padding-bottom:0pt;line-height:1.0;text-align:left}.c0{margin-left:23.2pt;border-spacing:0;border-collapse:collapse;margin-right:auto}.c9{margin-left:8.2pt;border-spacing:0;border-collapse:collapse;margin-right:auto}.c28{padding-top:0pt;padding-bottom:0pt;line-height:1.15;text-align:center}.c34{padding-top:4pt;padding-bottom:0pt;line-height:1.0;text-align:left}.c7{orphans:2;widows:2;height:11pt}.c33{background-color:#ffffff;}.c27{background-color:#f0f0f0;color:#78a960}.c1{color:inherit;text-decoration:inherit}.c8{orphans:2;widows:2}.c15{background-color:#f0f0f0;color:#444444}.c10{font-weight:400;font-family:\"Consolas\"}.c18{margin-left:36pt;padding-left:0pt}.c22{background-color:#f0f0f0;color:#880000}.c20{padding:0;margin:0}.c35{font-style:italic}.c14{height:0pt}.c23{font-family:\"Consolas\"}.c19{font-weight:700}.title{padding-top:0pt;color:#000000;font-size:26pt;padding-bottom:3pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}.subtitle{padding-top:0pt;color:#666666;font-size:15pt;padding-bottom:16pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}li{color:#000000;font-size:11pt;font-family:\"Arial\"}p{margin:0;color:#000000;font-size:11pt;font-family:\"Arial\"}h1{padding-top:20pt;color:#000000;font-size:20pt;padding-bottom:6pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h2{padding-top:18pt;color:#000000;font-size:16pt;padding-bottom:6pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h3{padding-top:16pt;color:#434343;font-size:14pt;padding-bottom:4pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h4{padding-top:14pt;color:#666666;font-size:12pt;padding-bottom:4pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h5{padding-top:12pt;color:#666666;font-size:11pt;padding-bottom:4pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;orphans:2;widows:2;text-align:left}h6{padding-top:12pt;color:#666666;font-size:11pt;padding-bottom:4pt;font-family:\"Arial\";line-height:1.15;page-break-after:avoid;font-style:italic;orphans:2;widows:2;text-align:left}<\/style><\/head><body class=\"c33\"><div><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><\/div><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c8 c34\"><span class=\"c6\"><a class=\"c1\" href=\"#h8jv0sv63mmbz\">Introduction<\/a><\/span><\/p><p class=\"c8 c25\"><span class=\"c6\"><a class=\"c1\" href=\"#h7fgw398nmntg\">Setup<\/a><\/span><\/p><p class=\"c25 c8\"><span class=\"c6\"><a class=\"c1\" href=\"#hte8zk22vhlt2\">FAQs<\/a><\/span><\/p><p class=\"c8 c21\"><span class=\"c6\"><a class=\"c1\" href=\"#htpnpe3ur6rlk\">How can I choose the node to go back to after the interruption is over?<\/a><\/span><\/p><p class=\"c21 c8\"><span class=\"c36\"><a class=\"c1\" href=\"#hmc38f6aaf3c2\">How can I reset the status of interruptions to &ldquo;not triggered&rdquo;?<\/a><\/span><\/p><p class=\"c8 c16\"><span class=\"c6\"><a class=\"c1\" href=\"#h8fbh4woqrjsf\">Will the script of the node that triggers the interruption execute?<\/a><\/span><\/p><h1 class=\"c24 c8\" id=\"h8jv0sv63mmbz\"><span class=\"c26\">Introduction<\/span><\/h1><p class=\"c4 c8\"><span>This system allows to include &ldquo;interruptions&rdquo; during the normal flow of conversation without manually adding them in every place they might be triggered. A good example of this is a phone that might ring at any point during the conversation: normally one would need to include a condition in every node to check whether the phone would ring. By using this system, a separate conversation can be created that includes the phone ringing and its effects (perhaps some alternate dialogue, or a choice), and simply mark the nodes where that could happen with the <\/span><span class=\"c10\">canTriggerInterruption<\/span><span class=\"c5\">&nbsp;checkmark.<\/span><\/p><h1 class=\"c24 c8\" id=\"h7fgw398nmntg\"><span class=\"c26\">Setup<\/span><\/h1><p class=\"c4 c8\"><span class=\"c5\">The interruption system works by setting configuring the interruption options of a conversation, and then marking specific dialog nodes to have them able to interrupt a conversation.<\/span><\/p><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span>The options require adding a Custom Asset Field (CAF). Instructions on adding CAFs can be found here: <\/span><span class=\"c36\"><a class=\"c1\" href=\"https:\/\/learnbrite.com\/academy\/chatmapper-cookbook\/#h.t7z1efh0e51e\">https:\/\/learnbrite.com\/academy\/chatmapper-cookbook\/#h.t7z1efh0e51e<\/a><\/span><\/p><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span style=\"overflow: hidden; display: inline-block; margin: -0.00px -0.00px; border: 1.33px solid #000000; transform: rotate(0.00rad) translateZ(0px); -webkit-transform: rotate(0.00rad) translateZ(0px); width: 624.00px; height: 34.67px;\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88\" style=\"width: 624.00px; height: 34.67px; margin-left: 0.00px; margin-top: 0.00px; transform: rotate(0.00rad) translateZ(0px); -webkit-transform: rotate(0.00rad) translateZ(0px);\" title=\"\"><\/span><\/p><ul class=\"c20 lst-kix_56z2tiofmgew-0 start\"><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Set on: <\/span><span class=\"c3\">Conversations<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Title:<\/span><span>&nbsp;<\/span><span class=\"c3\">interruptionParameters<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Type:<\/span><span>&nbsp;<\/span><span class=\"c3\">Text<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Default value:<\/span><span>&nbsp;leave empty<\/span><\/li><\/ul><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c5\">The supported parameters are:<\/span><\/p><ul class=\"c20 lst-kix_fi01dwqpvh70-0 start\"><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c23 c19\">goTo<\/span><span>: <\/span><span class=\"c5\">which conversation(s), by ID, should be used as interruptions? These are always included between square brackets (see examples below).<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c23 c19\">probability<\/span><span class=\"c5\">: what is the probability of a node marked as canTriggerInterruptions to actually trigger that interruption? This can go from 0 to 1 (representing 0% to 100%)<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c23 c19\">canRepeat<\/span><span class=\"c5\">: if an interruption was already triggered, can it trigger again? This can be either true or false.<\/span><\/li><\/ul><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c5\">Here are a couple of examples for what you would include in the interruptionParameters field of a conversation:<\/span><\/p><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c19\">Use conversations 1 and 2 as interruptions, and make sure they always trigger.<\/span><\/p><a id=\"t.90364cb84e2f7d88d3e991a3baf9dd2b099aae31\"><\/a><a id=\"t.0\"><\/a><table class=\"c12\"><tr class=\"c14\"><td class=\"c13\" colspan=\"1\" rowspan=\"1\"><p class=\"c4\"><span class=\"c15 c10\">{&quot;goTo&quot;: [<\/span><span class=\"c10 c22\">1<\/span><span class=\"c15 c10\">,<\/span><span class=\"c10 c22\">2<\/span><span class=\"c15 c10\">], &quot;probability&quot;: <\/span><span class=\"c10 c22\">0.3<\/span><span class=\"c15 c10\">, &quot;canRepeat&quot;: <\/span><span class=\"c10 c27\">true<\/span><span class=\"c15 c10\">}<\/span><\/p><\/td><\/tr><\/table><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c19 c32\">Only use conversation 4 as an interruption, and only once.<\/span><\/p><a id=\"t.0ec544e52a0e1edeca46d598b1432b65e38462b2\"><\/a><a id=\"t.1\"><\/a><table class=\"c12\"><tr class=\"c14\"><td class=\"c13\" colspan=\"1\" rowspan=\"1\"><p class=\"c4\"><span class=\"c15 c10\">{&quot;goTo&quot;: [<\/span><span class=\"c10 c22\">4<\/span><span class=\"c15 c10\">], &quot;probability&quot;: <\/span><span class=\"c10 c22\">0.79<\/span><span class=\"c15 c10\">, &quot;canRepeat&quot;: <\/span><span class=\"c27 c10\">false<\/span><span class=\"c15 c10\">}<\/span><\/p><\/td><\/tr><\/table><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><a id=\"t.e08baa3ac2d15fdc57220d29ed68af8cc3ce66a4\"><\/a><a id=\"t.2\"><\/a><table class=\"c9\"><tr class=\"c14\"><td class=\"c17\" colspan=\"1\" rowspan=\"1\"><p class=\"c28 c8\"><span>Note: <\/span><span class=\"c10\">goTo<\/span><span>, <\/span><span class=\"c10\">probability<\/span><span>, and <\/span><span class=\"c10\">canRepeat<\/span><span>&nbsp;should <\/span><span class=\"c19\">always<\/span><span class=\"c5\">&nbsp;be wrapped in quotation marks<\/span><\/p><\/td><\/tr><\/table><hr><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c5\">After the conversation is set up, another CAF is used to mark each Dialog Node.<\/span><\/p><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span style=\"overflow: hidden; display: inline-block; margin: -0.00px -0.00px; border: 1.33px solid #000000; transform: rotate(0.00rad) translateZ(0px); -webkit-transform: rotate(0.00rad) translateZ(0px); width: 624.00px; height: 30.67px;\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/lh3.googleusercontent.com\/6TPVH24WN5X1oW6v0ga4in1YtwLc0XWAuO-X5JmQ_P8QrAd8Lo7C-6GtnYNvzxFjsFBHHc-Mkzv8CEABHqyNQcaocxdWQVYVWs-Cv89Jc4WXR9VyQzLCZKFpJgPIHONUMSzzrdWWm6A\" style=\"width: 624.00px; height: 30.67px; margin-left: 0.00px; margin-top: 0.00px; transform: rotate(0.00rad) translateZ(0px); -webkit-transform: rotate(0.00rad) translateZ(0px);\" title=\"\"><\/span><\/p><ul class=\"c20 lst-kix_56z2tiofmgew-0\"><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Set on: <\/span><span class=\"c3\">Dialogue Nodes<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Title:<\/span><span>&nbsp;<\/span><span class=\"c3\">canTriggerInterruptions<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Type:<\/span><span>&nbsp;<\/span><span class=\"c3\">Boolean<\/span><\/li><li class=\"c4 c8 c18 li-bullet-0\"><span class=\"c19\">Default value:<\/span><span>&nbsp;<\/span><span class=\"c3\">False<\/span><\/li><\/ul><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c5\">Then, the checkmark should be checked for every node that might trigger an interruption.<\/span><\/p><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><a id=\"t.2eec6c7e1cccd14ef7fc4f14b24131dd2542b97d\"><\/a><a id=\"t.3\"><\/a><table class=\"c0\"><tr class=\"c14\"><td class=\"c11\" colspan=\"1\" rowspan=\"1\"><p class=\"c28 c8\"><span>Note: if an interruption is triggered, the script of that node <\/span><span class=\"c19\">will not be executed<\/span><span class=\"c5\">.<\/span><\/p><\/td><\/tr><\/table><h1 class=\"c8 c24\" id=\"hte8zk22vhlt2\"><span class=\"c26\">FAQs<\/span><\/h1><h2 class=\"c2\" id=\"htpnpe3ur6rlk\"><span class=\"c31\">How can I choose the node to go back to after the interruption is over?<\/span><\/h2><p class=\"c4 c8\"><span>This can be achieved by adding a node <\/span><span class=\"c35\">before<\/span><span class=\"c5\">&nbsp;the interruption-triggering node, and saving the ID of the intended &ldquo;return&rdquo; node to a variable. For instance, <\/span><\/p><a id=\"t.1d3feee4a67d922579d6ba290ce2859e7ea8102e\"><\/a><a id=\"t.4\"><\/a><table class=\"c12\"><tr class=\"c14\"><td class=\"c13\" colspan=\"1\" rowspan=\"1\"><p class=\"c4\"><span class=\"c15 c23 c19\">Variable<\/span><span class=\"c15 c10\">[<\/span><span class=\"c10 c22\">&quot;NodeAfterInterruption&quot;<\/span><span class=\"c15 c10\">] = 85;<\/span><\/p><\/td><\/tr><\/table><p class=\"c4 c7\"><span class=\"c5\"><\/span><\/p><p class=\"c4 c8\"><span class=\"c5\">And in the last node of the interruption conversation, an action can be triggered to go to the specific node saved in the variable:<\/span><\/p><a id=\"t.7a5b51d9ff8951c82c3df9f5f79468ad9b63c48c\"><\/a><a id=\"t.5\"><\/a><table class=\"c12\"><tr class=\"c14\"><td class=\"c13\" colspan=\"1\" rowspan=\"1\"><p class=\"c4\"><span class=\"c15 c23 c19\">LB<\/span><span class=\"c10 c22\">.Actions.playConversationId<\/span><span class=\"c15 c10\">({<br> &nbsp; &nbsp;<\/span><span class=\"c15 c19 c23\">cnvid<\/span><span class=\"c10 c15\">: <\/span><span class=\"c10 c22\">3<\/span><span class=\"c15 c10\">,<br> &nbsp; &nbsp;nid: Variable[<\/span><span class=\"c10 c22\">&quot;<\/span><span class=\"c10 c22\">NodeAfterInterruption<\/span><span class=\"c10 c22\">&quot;<\/span><span class=\"c15 c10\">],<br> &nbsp; &nbsp;delay: <\/span><span class=\"c10 c22\">0.1<\/span><span class=\"c15 c10\"><br>});<\/span><\/p><\/td><\/tr><\/table><h2 class=\"c2\" id=\"hmc38f6aaf3c2\"><span class=\"c31\">How can I reset the status of interruptions to &ldquo;not triggered&rdquo;?<\/span><\/h2><p class=\"c4 c8\"><span class=\"c5\">Depending on your setup, you might want interruptions not to trigger more than once, but also require clearing which ones were already triggered (perhaps because you are starting a conversation from the beginning). This can be done by calling the following script:<\/span><\/p><a id=\"t.74b8b86656df1d0c400b6d850cd9706a5063d2d6\"><\/a><a id=\"t.6\"><\/a><table class=\"c12\"><tr class=\"c14\"><td class=\"c13\" colspan=\"1\" rowspan=\"1\"><p class=\"c4\"><span class=\"c15 c10\">LB.cmPlayer.ds.clearTriggeredInterruptions();<\/span><\/p><\/td><\/tr><\/table><h2 class=\"c29\" id=\"h8fbh4woqrjsf\"><span class=\"c31\">Will the script of the node that triggers the interruption execute?<\/span><\/h2><p class=\"c4\"><span class=\"c5\">No, the interruption will exit the current conversation before the script is executed.<\/span><\/p><div><p class=\"c28 c8\"><span class=\"c30\">&copy; 2020 LearnBrite &#8211; Commercial In Confidence<\/span><\/p><p class=\"c28 c8\"><span class=\"c30\">Trademarks &amp; Copyrights are property of their respective owners. Pictures are indicative only &amp; may not reflect final production.<\/span><\/p><p class=\"c7 c28\"><span class=\"c5\"><\/span><\/p><\/div><\/body><\/html>","protected":false},"excerpt":{"rendered":"IntroductionSetupFAQsHow can I choose the node to go back to after the interruption is over?How can I reset the status of interruptions to &ldquo;not triggered&rdquo;?Will the script of the node that triggers the interruption execute?IntroductionThis system allows to include &ldquo;interruptions&rdquo; during the normal flow of conversation without manually adding them in every place they might [&hellip;]","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-2972","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Interruptions<\/title>\n<meta name=\"description\" content=\"Interruptions\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hyperspace.mv\/academy\/interruptions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interruptions\" \/>\n<meta property=\"og:description\" content=\"Interruptions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hyperspace.mv\/academy\/interruptions\/\" \/>\n<meta property=\"og:site_name\" content=\"Metaverse Academy\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-30T07:59:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/\",\"url\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/\",\"name\":\"Interruptions\",\"isPartOf\":{\"@id\":\"https:\/\/hyperspace.mv\/academy\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88\",\"datePublished\":\"2020-01-23T17:11:35+00:00\",\"dateModified\":\"2022-06-30T07:59:05+00:00\",\"description\":\"Interruptions\",\"breadcrumb\":{\"@id\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hyperspace.mv\/academy\/interruptions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/#primaryimage\",\"url\":\"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88\",\"contentUrl\":\"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hyperspace.mv\/academy\/interruptions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hyperspace.mv\/academy\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interruptions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hyperspace.mv\/academy\/#website\",\"url\":\"https:\/\/hyperspace.mv\/academy\/\",\"name\":\"Metaverse Academy\",\"description\":\"Learn to build WebXR metaverse experiences for 3D, 360, VR\/AR\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hyperspace.mv\/academy\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interruptions","description":"Interruptions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hyperspace.mv\/academy\/interruptions\/","og_locale":"en_US","og_type":"article","og_title":"Interruptions","og_description":"Interruptions","og_url":"https:\/\/hyperspace.mv\/academy\/interruptions\/","og_site_name":"Metaverse Academy","article_modified_time":"2022-06-30T07:59:05+00:00","og_image":[{"url":"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hyperspace.mv\/academy\/interruptions\/","url":"https:\/\/hyperspace.mv\/academy\/interruptions\/","name":"Interruptions","isPartOf":{"@id":"https:\/\/hyperspace.mv\/academy\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hyperspace.mv\/academy\/interruptions\/#primaryimage"},"image":{"@id":"https:\/\/hyperspace.mv\/academy\/interruptions\/#primaryimage"},"thumbnailUrl":"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88","datePublished":"2020-01-23T17:11:35+00:00","dateModified":"2022-06-30T07:59:05+00:00","description":"Interruptions","breadcrumb":{"@id":"https:\/\/hyperspace.mv\/academy\/interruptions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hyperspace.mv\/academy\/interruptions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hyperspace.mv\/academy\/interruptions\/#primaryimage","url":"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88","contentUrl":"https:\/\/lh6.googleusercontent.com\/UaS_bjD6a2LZbZPJ6gUf61sFBJFnXQ5EVhnLZ3USE405_ylOAPWCIELvSl5eObj5ASzSaeL6cpv7YMmM1_CKYUUN72xUrs2PfBCNp9YEV4yjZrA_PWyw5-wUEovho9_fz-ekJlemm88"},{"@type":"BreadcrumbList","@id":"https:\/\/hyperspace.mv\/academy\/interruptions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hyperspace.mv\/academy\/"},{"@type":"ListItem","position":2,"name":"Interruptions"}]},{"@type":"WebSite","@id":"https:\/\/hyperspace.mv\/academy\/#website","url":"https:\/\/hyperspace.mv\/academy\/","name":"Metaverse Academy","description":"Learn to build WebXR metaverse experiences for 3D, 360, VR\/AR","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hyperspace.mv\/academy\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/pages\/2972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/comments?post=2972"}],"version-history":[{"count":3,"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/pages\/2972\/revisions"}],"predecessor-version":[{"id":4188,"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/pages\/2972\/revisions\/4188"}],"wp:attachment":[{"href":"https:\/\/hyperspace.mv\/academy\/wp-json\/wp\/v2\/media?parent=2972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}