Talk:SyntaxWML

From The Battle for Wesnoth Wiki
Revision as of 13:49, 15 July 2007 by Meriton (talk | contribs) (success story for workaround with empty variable)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Empty Values

The workaround I posted was helpful to check whether a variable is initialized:

[variable]
    name=to_be_tested
    equals=$empty
[/variable]

(tested with wesnoth 1.2.5)

Interesting it doesn't work with [set_variable]format=.

Meriton 15:49, 15 July 2007 (CEST)