[open] Missing portraits messages

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
ZombieKnight
Posts: 221
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

[open] Missing portraits messages

Post by ZombieKnight »

How to display mirrored picture on the right side of message of a unit, which hasn't portrait?
Last edited by ZombieKnight on March 31st, 2024, 12:34 pm, edited 1 time in total.
I had saurian in profile before, but I've merged my discord profile with forum one...
User avatar
ZombieKnight
Posts: 221
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: Missing portraits messages

Post by ZombieKnight »

Wdym? I use this for most units...

Code: Select all

[message]
                {FILTER}
                second_image=$speaking_enemy.profile
                second_mirror=yes
                message= _ {MESSAGE}
            [/message]
But when $speaking_enemy.profile == 0, I can print different message
So what should I put to second_image so it's that "portrait" there?
I had saurian in profile before, but I've merged my discord profile with forum one...
Post Reply