Get village name? (get map label text)
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.
Get village name? (get map label text)
is it possible to get the name of the village that was captured in "capture" WML event?
AFAIK the name of the village is a label, similar to labels created by [label] WML tag but could not find anything like [store_label] and [store_locations] does not store labels...
AFAIK the name of the village is a label, similar to labels created by [label] WML tag but could not find anything like [store_label] and [store_locations] does not store labels...
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 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)
- beetlenaut
- Developer
- Posts: 2825
- Joined: December 8th, 2007, 3:21 am
- Location: Washington State
- Contact:
Re: Get village name? (get map label text)
No, it seems that labels can't be stored. There is a way to do this though. As you place the labels, you can put each location into a container manually, and then check through the container in your capture event.
Campaigns: Dead Water,
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
The Founding of Borstep,
Secrets of the Ancients,
and WML Guide
Re: Get village name? (get map label text)
this is for labels that I create from WML script with [label] tag.
but I want to get names of villages that were named by random map generator and/or in map editor.
impossible so far?
maybe with lua?
but I want to get names of villages that were named by random map generator and/or in map editor.
impossible so far?
maybe with lua?
author of: Altered Era/Ruleset (AKA "Altera"), latest version is on add-ons servers for BfW 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)