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

Lua Labs • Re: Another basic lua query

$
0
0
Something like this might work...

Code:

local filter_follower = wml.get_child(cfg,"filter_follower")filter_follower['side'] = wesnoth.current.sidelocal my_filter = { wml.tag.filter_adjacent(filter_follower) }wesnoth.interface.add_chat_message(wml.tostring(my_filter))
Oh, good idea! :D
Many thanks for your help!
Cheers!
-- Spannerbag

Statistics: Posted by Spannerbag — Yesterday, 6:12 pm



Viewing all articles
Browse latest Browse all 1882

Latest Images

Trending Articles



Latest Images