how to remove map label from specific hex?

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
lea
Posts: 170
Joined: October 1st, 2016, 7:25 pm

how to remove map label from specific hex?

Post by lea »

I have a WML script that removes adjacent villages from random maps
when village is removed, its label (name) stays on map - how can I remove it?
author of: Altered Era/Ruleset (on add-ons servers for BfW 1.14, 1.12 and 1.10 )
User avatar
WhiteWolf
Forum Moderator
Posts: 640
Joined: September 22nd, 2009, 7:48 pm
Location: Hungary

Re: how to remove map label from specific hex?

Post by WhiteWolf »

Easiest and probably best way is to use the {REMOVE_LABEL X Y} macro.
Author of the Underness Series, consisting of 5 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!
lea
Posts: 170
Joined: October 1st, 2016, 7:25 pm

Re: how to remove map label from specific hex?

Post by lea »

this macro uses [label] tag to set label's text to empty string
it seems counter-intuitive but it works

thanks, WhiteWolf
author of: Altered Era/Ruleset (on add-ons servers for BfW 1.14, 1.12 and 1.10 )
Post Reply