Difference between revisions of "Talk:SyntaxWML"

From The Battle for Wesnoth Wiki
(success story for workaround with empty variable)
(No difference)

Revision as of 13:49, 15 July 2007

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)