Can data interpolation be used in labels? I know it can be used in text, but I'd like to use it for labels.
I'll try to explain why I'm trying to do. The player is put into a debate, they must pick the right piece of evidence that contradicts a statement.
"bullet_selected" coincides with the bullet. for example if bullet1 is selected then "bullet_selected" will equal 1. "bullet_correct"'s value coincides with the correct evidence. So for this bullet_correct = 1, so bullet_selected must = 1 in order to get the correct answer.
The interpolation comes in for debate_num. The first debate is label db1: the second is db2, etc.
Code: Select all
define bullet1 = "Alpha"
define bullet2 = "Beta"
define bullet_correct = 1
define debate_num = 1
label trial_checker: #When a statement is clicked, it jumps to this label.
if bullet_selected == bullet_correct: #If right, then jump to the transitioning out of debate phase.
jump db[debate_num].c #debate_num counts up after the jump.
else:
jump db[debate_num].loop #If wrong, then jump back to beginning of the debate.
Basically I want to know if and how to interpolate data in labels.
I appreciate any input. Thank you for reading this post.