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: 304
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 (AKA "Altera"), latest version is on add-ons servers for BfW 1.18, 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
User avatar
WhiteWolf
Forum Moderator
Posts: 773
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.
Main UMC campaigns: The Ravagers - now for 1.18, with even more bugs!
Old UMC works: 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
lea
Posts: 304
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 (AKA "Altera"), latest version is on add-ons servers for BfW 1.18, 1.16 and 1.14, latest version also still supports BfW 1.12 and 1.10, 1.10 server is stuck with older buggy version)
Post Reply