How do I display variables in a text box that was created through a script.
I know how to make a text box in script: $gameMessage.add("Text")
But I don't know how to add game data in there.
I want something like this: $gameMessage.add("Character index: " + $gameActors.actor(1).index())
I think I need to somehow convert the result of $gameActors.actor(1).index() into a string before its use in the gameMessage.
I know how to make a text box in script: $gameMessage.add("Text")
But I don't know how to add game data in there.
I want something like this: $gameMessage.add("Character index: " + $gameActors.actor(1).index())
I think I need to somehow convert the result of $gameActors.actor(1).index() into a string before its use in the gameMessage.