Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1444

Lua Labs • Re: [solved] two [grid] tags

$
0
0
It is way how to run wml such as [lua] midscenario with debug command.
Or rather, it is the function to run arbitrary ActionWML for any reason whatsoever.
Arbitrary ActionWML which could be stored in a file and read (repeatedly) at runtime, allowing you to change WML without the whole F5-restart stuff? That was the impression I got from the linked thread.
wml-utils part is reference how to test this code, it has nothing to do with dialogs.
Okay, that makes more sense. You removed the callback that dealt with hitting the space bar to close (click_dismiss doesn't do that, does it, just mouse click I thought?), and added the wml-utils, so I assumed that the wml-utils... somehow was a replacement for the callback which confused me to no end.

Statistics: Posted by white_haired_uncle — Today, 1:27 am



Viewing all articles
Browse latest Browse all 1444

Trending Articles