Show a WML variable in [theme][status]

The place to post your WML questions and answers.

Moderators: Forum Moderators, Developers

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
Forum Regular
Posts: 557
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

Show a WML variable in [theme][status]

Post by WhiteWolf » May 17th, 2019, 12:15 pm


I'm just starting out with ThemeWML. Is it possible to show the status of a WML variable inside the [status] tag? If I understand correctly, I can place an icon next to it with [label], but I need to somehow show that value of the variable, but [status] only recognizes certain tags. Is this possible somehow?

Author of the Underness Series, consisting of V parts: The Desolation of Karlag, The Blind Sentinel, The Stone of the North, The Invasion Of The Western Cavalry, Fingerbone of Destiny
Standalone works: The Ravagers - now for 1.14, with new bugs!

User avatar
Posts: 738
Joined: August 19th, 2017, 6:58 pm

Re: Show a WML variable in [theme][status]

Post by josteph » May 17th, 2019, 5:24 pm

Does this help? It's an example of using lua to show custom statuses. Lua code can get values of WML variables too.

Post Reply