I need to add two vars together to get an existing var name already declared.
var Tweet1:String;
//code called later in function
var num = 1;
output.text = Tweet+num; // This does not work
I need to add two vars together to get an existing var name already declared.
var Tweet1:String;
//code called later in function
var num = 1;
output.text = Tweet+num; // This does not work
Try next syntax: this["Tweet"+num]