Adding a context menu option via lua
Moderator: Forum Moderators
Adding a context menu option via lua
I want people to be able to access a rigt-click menu item while another player is playing their turn in multiplayer. The WML [Set_Menu_Item] function doesn't allow it. Is there a way to do this with lua?
Re: Adding a context menu option via lua
With 1.13 there is support for it. 1.12 needs hacky solutions like EoHS and ageless use.
Re: Adding a context menu option via lua
I'll take a look at them, then. Thanks!
Re: Adding a context menu option via lua
"You can open this menu by clicking and rightclicking your unit quickly"
https://github.com/ProditorMagnus/Agele ... d_menu.cfg
https://github.com/ProditorMagnus/Agele ... d_menu.cfg
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
Re: Adding a context menu option via lua
I've only just noticed this post now. Thanks! Ravana had told me about the menu, too, but in the end I settled for another solution.