Private label

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
trickitiki
Posts: 9
Joined: May 31st, 2018, 3:14 pm

Private label

Post by trickitiki »

Hi. What's the way u may recommend to put some player-recognizable label on unit? Such as halo or overlay, but the condition is that label must be visible only for specific player(s).
User avatar
Ravana
Forum Moderator
Posts: 3000
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Private label

Post by Ravana »

I would use Lua to only execute the display change on player that needs it.
User avatar
trickitiki
Posts: 9
Joined: May 31st, 2018, 3:14 pm

Re: Private label

Post by trickitiki »

Finally found! There is "team_name" parameter inside [item] element, shouldn't be hard to use. At first i was thought about making reqests in ctx. menu and then show status by message, which seems too awkward.
Post Reply