Alright, so, I have a game where the player can name the protagonist whatever they want via a Name Input event command. Let's say that the player decides to name the protagonist Bob. The protagonist is the first Actor in the database, so whenever the protagonist's name comes up in a Show Message text box, I have to write \N[1] in its place. This by default is replaced by the name of the first actor in the database, so instead of \N[1], the actual message box would show Bob in its place in this instance.
At one point, the player gets into combat with a dark reflection of their character. An enemy that's supposed to be named Dark *Protagonist's Name*, so Dark Bob in this instance. I tried to get the custom name to show up correctly for the enemy during combat no matter what the player decides to name the protagonist. The way I did it is by naming the specific enemy in the database Dark \N[1] , the same way it would work in a Show Message textbox. And this works perfectly fine for the combat log text, whenever something happens, it says the chosen name correctly, for example "Dark Bob attacks" or "Dark Bob emerged".
However, the one exception is that during combat, when you select which enemy to attack, the enemy's name doesn't show up as Dark Bob. Instead, it shows up as Dark \N[1] , which is what the enemy is actually named in the database.
In other words, the combat log text and other text boxes appear to recognise the special characters, but the target selection interface for skills and attacks ignores them and just shows how the enemy is literally named in the database.
Anyone have any idea on how to make it show up correctly during target selection as well? Would this need a plugin?
And just to be clear, I was testing this in a new project with no plugins.
At one point, the player gets into combat with a dark reflection of their character. An enemy that's supposed to be named Dark *Protagonist's Name*, so Dark Bob in this instance. I tried to get the custom name to show up correctly for the enemy during combat no matter what the player decides to name the protagonist. The way I did it is by naming the specific enemy in the database Dark \N[1] , the same way it would work in a Show Message textbox. And this works perfectly fine for the combat log text, whenever something happens, it says the chosen name correctly, for example "Dark Bob attacks" or "Dark Bob emerged".
However, the one exception is that during combat, when you select which enemy to attack, the enemy's name doesn't show up as Dark Bob. Instead, it shows up as Dark \N[1] , which is what the enemy is actually named in the database.
In other words, the combat log text and other text boxes appear to recognise the special characters, but the target selection interface for skills and attacks ignores them and just shows how the enemy is literally named in the database.
Anyone have any idea on how to make it show up correctly during target selection as well? Would this need a plugin?
And just to be clear, I was testing this in a new project with no plugins.