UtilWML

From Wesnoth

Predefined utility macros

There are many ready macros defined in data/utils.cfg that are always included. Many are relatively simple shortcuts like one-liners for setting variables but there are macros for more complex tasks as well, such as modifying properties of existing units or moving units around on the map. For an exact description of what each macro does, see data/utils.cfg.

Macro Descriptions

We no longer maintain reference documentation on the utility macros by hand. Instead, as of 1.3.2, there is an automatically generated page made from comments embedded in the macro source code.

See Also

This page was last modified 12:13, 23 July 2008.