commands separated from the buildmenu...

commands separated from the buildmenu...

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

commands separated from the buildmenu...

Post by smoth »

Does anyone know how to do this in lua without completely rewriting all the commands and simulating them in lua?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: commands separated from the buildmenu...

Post by LordMatt »

What exactly are you trying to do? A crude paint image might illustrate it well.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: commands separated from the buildmenu...

Post by aegis »

Layout handler.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: commands separated from the buildmenu...

Post by SinbadEV »

For Tower Defense?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: commands separated from the buildmenu...

Post by aegis »

Should be able to hook/remove commands from the build menu with the layout handler, then make lua buttons in another area with equivalent functionality (you can send commands like attack etc with custom buttons).
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: commands separated from the buildmenu...

Post by lurker »

A recent CA version had half the buttons removed with a custom layout handler.
Post Reply

Return to “Lua Scripts”