The WML standard here would be to use id to define the area inside the [named area] tag, and something like area_id in other places to reference that named area. So for example, completely cartoonized version:
[named area] id=FooBurg description='village of foo' x=7 y=13 [/named area] [do something] id=dos1 area_id=FooBurg something='play sound' [/do something] [do something]#doing something else id=dos2 area_id=FooBurg something='kill unit' [/do something] ------------------------------------------------------------------- "In theory, theory and practice are the same, but in practice they're different." ------------------------------------------------------------------- John W. C. McNabb ------------------------------------------------------------------- On Wed, Feb 24, 2010 at 4:39 PM, Fabian Mueller <fabianmuell...@gmx.de>wrote: > Bruno Wolff III wrote: > > On Wed, Feb 24, 2010 at 18:36:48 +0000, > > Patrick Parker <patrick_...@hotmail.com> wrote: > > > >> The attribute "id=" should only be used for unique identifiers. > >> This does not identify a unique location. > >> > > > > Isn't it a unique area though? > > > > > Yes. It is. > > > _______________________________________________ > Wesnoth-dev mailing list > Wesnoth-dev@gna.org > https://mail.gna.org/listinfo/wesnoth-dev >
_______________________________________________ Wesnoth-dev mailing list Wesnoth-dev@gna.org https://mail.gna.org/listinfo/wesnoth-dev