Page 1 of 1

Drag'n'Drop build order

Posted: 04 Jan 2007, 10:47
by Ling_Lover
Well, I've just read something interesting on this site:
http://ton-of-clay.blogspot.com/2006/09 ... tream.html
that i found in the EE thread...

now, they mention the idea of having drag'n'drop build orders by the small boxes you can see at the bottom of the screen... as in, you can change what order the units are building in, and the buildings (and their order being built) is shown down the bottom...

so, is it possible to do this with the LUA UI?

if it is... can someone show me how?

Posted: 04 Jan 2007, 11:03
by trepan
so, is it possible to do this with the LUA UI?

Yes.
(note that re-arranging queues could be bandwidth intensive)

if it is... can someone show me how?

You might want to wait until 0.74b3 is released with its default LuaUI
files. I won't have much time to help anyone until that's been completed.
If you don't already know Lua, then now is a good time to learn ;)

P.S. The spring network protocol is not very friendly for this kind of
queue manipulation. You might be able to play some tricks with the
ALT and RIGHT modifiers (depending on the unit types), but a full
queue rebuild will be necessary in some cases.

Posted: 04 Jan 2007, 11:28
by Ling_Lover
i dont really know LUA, but i've been modifying one of your gui files with resonable results...

but i do use ASP which seems to be similar in structure to Lua...

i'm just not sure about how to access the information i need, or set the information (build queues)