Talk:SyntaxWML

From The Battle for Wesnoth Wiki

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)

This page was last edited on 15 July 2007, at 13:49.