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

Lua Labs • Re: Invocation of synced command outside of the players turn

$
0
0
I'm not sure if there's even a way to put the item in the menu outside of a player's turn. Maybe synced=no in the [set_menu_item] could do it? But even if it does, that has undesirable side-effects for what you're doing.

And even if you can get the menu item to be invoked outside of the player's turn, I suspect you wouldn't be able to invoke the synced command outside of their turn.

By the way, your [args] tag is misplaced there. It should go inside the [lua] tag.

Statistics: Posted by Celtic_Minstrel — Today, 1:43 pm



Viewing all articles
Browse latest Browse all 1984

Trending Articles