I’m not sure why this isn’t working as intended so thought I would ask on here.
I’m building a string variable that reports where an item has been placed by random choice.
Now PlacementString is "has been placed in [Bold type][Weapon Item Location entry]";
The reason i’m building it as a variable as opposed to simply saying it is it’s part of a process not yet finished so this string will be said later on…
this is the code later on…
say "A [ItemType], [bold type][ItemName][Roman type], [PlacementString]";
ItemType is a string that dictates what type of item (weapon,tool, etc)
ItemName is the printed name of the item.
So an example of what that say would look like in game:
A Weapon, Knife, has been placed in Kitchen.
The problem is Kitchen is supposed to be Bold, to emphasise the room it went in, and if you look at my string variable it has [Bold type] set.
But when the string is later displayed as part of the larger say command, the bold doesn’t work.
so it ends up looking like:
A Weapon, Knife, has been placed in Kitchen.
It’s a small issue for sure, but it’s got me wondering why font styles don’t work in variables, and how to work around that to get it to work.
I would understand if variables didn’t understand font styles and just reported them literally, for example:
A Weapon, Knife, has been placed in [Bold Type]Kitchen.
But it doesn’t show the code…it recognises it as a special bit of text…however it simply doesn’t do it!
Any ideas?