Manipulating map labels?
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.
Manipulating map labels?
WML allows one to place a new map label with the
[label]
tag, but I don't see a way to otherwise manipulate them. Does anyone know of a way to find / filter for / change existing labels on the map, either via WML or Lua?- pyrophorus
- Posts: 533
- Joined: December 1st, 2010, 12:54 pm
Re: Manipulating map labels?
Hi !
If you want to change a label on the map, you only have to overload it with a new [label] tag, same coordinates, new text.
If you problem is to retrieve them later, you should use a container variable to store their coordinates.
HTH
If you want to change a label on the map, you only have to overload it with a new [label] tag, same coordinates, new text.
If you problem is to retrieve them later, you should use a container variable to store their coordinates.
HTH
HowTos: WML filtering, WML variables
Re: Manipulating map labels?
Thanks, pyrophorus, that's what I needed. I had thought about storing the data in a variable, but didn't know you could overwrite existing labels.