I want to show the content of Question+i string in my programm.
I have many questions and i must select 2 from they. var i will be generated per random 2 times and corresponding questions will be shown.
For example:
Code:
string Question1 = "Some text 1";
...
string Question10 = "Some another text 10";
var i = int(random (10)); // for example return 5
draw_text("Question" + i,100,10,vector(100,100,255));
var j = int(random (10)); // for example return 10
draw_text("Question" + j,100,10,vector(100,100,255));
// as result i want to see:
Some text 5
Some another text 10
My question is how can i call the right string in draw_text or in text{ string=....} block?