Hello all of you!
Is there any way I can concatenate variables from my scripts into a message from Show Text command?
Let's say my script is something like this:
And I want to display this
Is there any way I can concatenate variables from my scripts into a message from Show Text command?
Let's say my script is something like this:
JavaScript:
class MainDirector {
constructor() {
this.varX = 10;
}
}
const mainDirector = new MainDirector();
And I want to display this
varX value into a text message, is there any way I can do it without assigning to a game variable?