- Aug 5, 2017
- 388
- 770
Herro' out there.
Quick, potentially stupid question. I am trying to perform a numbered variable to text string conversion in a conversation.
In one file, I have the variables defined (appropriate tabs are marked by >'s and are not actually put into the code)
label create_[hero.fname]_[hero.lname]
>$ hero.fname = "player"
>$ player.days = 13 (and this variable is able to change through the game)
> ......(this is just strings other variables)
Then in the field where the speech text happens, the line is something like:
> Speaker "Hi [hero.fname], it seems to me that you have been here for [player.days] days. It is time to pay rent.
The resulting dialog will end up being:
> Speaker Hi player, it seems to me that you have been here for 13 days. It is time to pay rent.
And I am looking for: (It just looks better for a person to say the written form of a number then the ## form IMO)
> Speaker Hi player, it seems to me that you have been here for thirteen days. It is time to pay rent.
I have tried %[player.days]d and the result says that there has to be a number, and not unicode. Any help would be greatly appreciated.
Quick, potentially stupid question. I am trying to perform a numbered variable to text string conversion in a conversation.
In one file, I have the variables defined (appropriate tabs are marked by >'s and are not actually put into the code)
label create_[hero.fname]_[hero.lname]
>$ hero.fname = "player"
>$ player.days = 13 (and this variable is able to change through the game)
> ......(this is just strings other variables)
Then in the field where the speech text happens, the line is something like:
> Speaker "Hi [hero.fname], it seems to me that you have been here for [player.days] days. It is time to pay rent.
The resulting dialog will end up being:
> Speaker Hi player, it seems to me that you have been here for 13 days. It is time to pay rent.
And I am looking for: (It just looks better for a person to say the written form of a number then the ## form IMO)
> Speaker Hi player, it seems to me that you have been here for thirteen days. It is time to pay rent.
I have tried %[player.days]d and the result says that there has to be a number, and not unicode. Any help would be greatly appreciated.