REQ: Select and Centre

REQ: Select and Centre

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

Moderator: Moderators

User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

REQ: Select and Centre

Post by Jazcash »

Could we get a Select and Centre widget that works?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: REQ: Select and Centre

Post by zwzsg »

Sure
Attachments
gui_center_n_select.lua
(1.43 KiB) Downloaded 125 times
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: REQ: Select and Centre

Post by Jazcash »

zwzsg wrote:Sure
Thanks, I send you my virtual cookies.

Image
User avatar
Sausage
Posts: 272
Joined: 05 Jan 2010, 23:47

Re: REQ: Select and Centre

Post by Sausage »

man those look nice
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: REQ: Select and Centre

Post by Licho »

If you select 2x - like press 1 2x it will go to its location..
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: REQ: Select and Centre

Post by Jazcash »

Licho wrote:If you select 2x - like press 1 2x it will go to its location..
You mean Ctrl+C?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: REQ: Select and Centre

Post by Beherith »

Licho does that work with lua issued select orders as well? Like if I double up a select (with lua) then cam will center on it?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: REQ: Select and Centre

Post by AF »

Stealin ma cookies!
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: REQ: Select and Centre

Post by Jazcash »

Hmm, so I found this doesn't work either. It selects the Com adn then deselects it at game start. Almost as if it's toggling selection so there could be something conflicting with it, not sure :?
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: REQ: Select and Centre

Post by SinbadEV »

I remember at one time (maybe it was actual TA) where before the game started I could issue orders to my commander... that was kinda cool.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: REQ: Select and Centre

Post by Jazcash »

Sorry for the bump, it's just Select and Center still hasn't worked for me since that one Spring Engine update we had like almost a year ago now.

Is Select and Center working for anybody else in BA? If so, could you post the widget you're using here, otherwise, we could seriously use one that works.
User avatar
Mav
Posts: 258
Joined: 12 Nov 2009, 20:06

Re: REQ: Select and Centre

Post by Mav »

I use the built-in BA widget. Sometimes it works, sometimes it doesn't...
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: REQ: Select and Centre

Post by Beherith »

Same here, working of it is non deterministic.
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: REQ: Select and Centre

Post by aegis »

I just spam ctrl+c at the end of the countdown
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: REQ: Select and Centre

Post by Jazcash »

aegis wrote:I just spam ctrl+c at the end of the countdown
Make me a widget that spams Ctrl+C at the end of the countdown pl0x <3
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: REQ: Select and Centre

Post by Tribulex »

if you need a widget to press your keyboard for you, you are a noob. (srsly thats cheating too)
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: REQ: Select and Centre

Post by Jazcash »

in case anyone thought tribulex was someone to take seriously read the post below.
Last edited by Jazcash on 26 Mar 2010, 20:12, edited 1 time in total.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: REQ: Select and Centre

Post by Tribulex »

in case anyone thought jazcash was someone to take seriously read the above post.
User avatar
Mav
Posts: 258
Joined: 12 Nov 2009, 20:06

Re: REQ: Select and Centre

Post by Mav »

JAZCASH wrote:in case anyone thought tribulex was someone to take seriously read the post below.
Tribulex wrote:in case anyone thought jazcash was someone to take seriously read the above post.
Image
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: REQ: Select and Centre

Post by Tribulex »

ahahhahaa i love it! :D
Post Reply

Return to “Lua Scripts”