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

Lua Labs • Re: Another basic lua query: back waaaay too soon

$
0
0
I have a scoping problem: values (variables) aren't being passed to functions in the ca definitions?
The cfg variable is being passed to functions, but you are using it outside of those functions. You will probably need to move those lines inside the function(s) that need them. (You might need to repeat them for every function which needs them.)

Statistics: Posted by gnombat — Yesterday, 5:52 pm



Viewing all articles
Browse latest Browse all 2273