Hey everyone!
I've been searching all over and can't seem to find any post or plugin that has anything to do with this. It might sound like a weird question, but it has a purpose:
In a game I'm making there's a hero that has no name when he joins your party. As you play through his storyline though you get letters to name him. So like one of the quests has 3 different endings: One adds an "a" to his name, another adds an "e" and the last adds an "i"; so basically as you play, you can play the missions in any order you want and you never really know what ending you'll get, so the name kind of randomly builds itself. I was going to use a bunch of variables, switches and IF/ELSE statements, but I wondered—is it possible to append a letter to a hero name?
Basically, say the player named a hero "Zor" and as the game creator, you needed to add a "k" to the end of that heroes name to make the heroes name be "Zork", but you can't just do a name change on the character to add the "k", because what if the player named the hero "Cor" or "Por"? So, not sure if this would require a plug-in or if there's possible some type of script call/JavaScript logic that could be applied to get this result. Any and all help would be greatly appreciated!
I've been searching all over and can't seem to find any post or plugin that has anything to do with this. It might sound like a weird question, but it has a purpose:
In a game I'm making there's a hero that has no name when he joins your party. As you play through his storyline though you get letters to name him. So like one of the quests has 3 different endings: One adds an "a" to his name, another adds an "e" and the last adds an "i"; so basically as you play, you can play the missions in any order you want and you never really know what ending you'll get, so the name kind of randomly builds itself. I was going to use a bunch of variables, switches and IF/ELSE statements, but I wondered—is it possible to append a letter to a hero name?
Basically, say the player named a hero "Zor" and as the game creator, you needed to add a "k" to the end of that heroes name to make the heroes name be "Zork", but you can't just do a name change on the character to add the "k", because what if the player named the hero "Cor" or "Por"? So, not sure if this would require a plug-in or if there's possible some type of script call/JavaScript logic that could be applied to get this result. Any and all help would be greatly appreciated!