[SOLVED]Markup tag not work.
[SOLVED]Markup tag not work.
Hello again.
I'm testing the markup tag, [panel = #] works very well but for example [pic = #] or [em #] blablabla [/ em #] doesn't work.
I add them to the dialogue text of the node.
What am I doing wrong?
Thank you!
I'm testing the markup tag, [panel = #] works very well but for example [pic = #] or [em #] blablabla [/ em #] doesn't work.
I add them to the dialogue text of the node.
What am I doing wrong?
Thank you!
Last edited by megadok on Tue Sep 15, 2020 3:59 am, edited 1 time in total.
Re: Markup tag not work.
Hi,
Don't use spaces in your markup tags. For example, use this:
not this:
Don't use spaces in your markup tags. For example, use this:
Code: Select all
[pic=2] Hello, [em1]friend![/em1]
Code: Select all
[ pic = 2 ] Hello, [em 1]friend![/ em 1]
Re: Markup tag not work.
I don't leave blank spaces. I attach images.
Thank you.
Thank you.
Re: Markup tag not work.
Why do you have 3 player actors?
Are you sure the correct actor is being used?
Inspect the conversation's properties by clicking on blank canvas space. Set the Actor to Player_habla. Set the Conversant to Vendedor.
Temporarily set the Dialogue Manager's Debug Level to Info. When the conversation starts, look for a Console log like this:
Dialogue System: Starting conversation 'Title' with actor=XXX and conversant=YYY.
Make sure XXX and YYY are correct.
Do the [em1] ... [/em1] tags work? Did you set the emphasis colors in the Dialogue Editor's Database section?
Are you sure the correct actor is being used?
Inspect the conversation's properties by clicking on blank canvas space. Set the Actor to Player_habla. Set the Conversant to Vendedor.
Temporarily set the Dialogue Manager's Debug Level to Info. When the conversation starts, look for a Console log like this:
Dialogue System: Starting conversation 'Title' with actor=XXX and conversant=YYY.
Make sure XXX and YYY are correct.
Do the [em1] ... [/em1] tags work? Did you set the emphasis colors in the Dialogue Editor's Database section?
Re: Markup tag not work.
https://ibb.co/MS1yyzn image 1
https://ibb.co/pdddvqq image 2
You're right, my fault, emphasis works. But [pic=#] dont work...
i have 2 player "now", 1º with Parameter "player" and the 2º withouth parameter Player.
The reason is that if the first one has the "player" parameter activated, it automatically calls the "reponse" submenu, and if it does not have it activated, it calls another submenu.
https://ibb.co/pdddvqq image 2
You're right, my fault, emphasis works. But [pic=#] dont work...
i have 2 player "now", 1º with Parameter "player" and the 2º withouth parameter Player.
The reason is that if the first one has the "player" parameter activated, it automatically calls the "reponse" submenu, and if it does not have it activated, it calls another submenu.
Re: Markup tag not work.
Hi,
Why are you showing screenshots of the player actor? The line is being spoken by the Vendedor. Please post a screenshot of the Vendedor actor's Inspector view, with Portrait Textures and Portrait Sprites both expanded.
Why are you showing screenshots of the player actor? The line is being spoken by the Vendedor. Please post a screenshot of the Vendedor actor's Inspector view, with Portrait Textures and Portrait Sprites both expanded.
Re: Markup tag not work.
It looks like it's showing exactly what it's supposed to. The current line in your screenshot is "Vendedor: Good morning". And it's showing the Vendedor actor's portrait image. Everything is correct.
What do you want to happen instead?
What do you want to happen instead?
Re: Markup tag not work.
With [pic=1] i want to change the portrair from vendedor to woman.
Vendedor portrait is the number 3
woman portrait is the number 1.
In the node of the Vendendor i want to see the woman portrait.
Vendedor portrait is the number 3
woman portrait is the number 1.
In the node of the Vendendor i want to see the woman portrait.
Re: Markup tag not work.
Add the woman image to the Vendedor's Portrait Sprites list. It will be pic 1. Then set the Dialogue Text to:
[pic=1]Good morning.
If you want to use the Vendedor conversation for several shop keepers, add a Dialogue Actor component to each one, and assign the Dialogue Actor's Portrait Sprite field. Don't use a [pic=#] tag. This will make it use the Dialogue Actor's Portrait Sprite.
[pic=1]Good morning.
If you want to use the Vendedor conversation for several shop keepers, add a Dialogue Actor component to each one, and assign the Dialogue Actor's Portrait Sprite field. Don't use a [pic=#] tag. This will make it use the Dialogue Actor's Portrait Sprite.