#Limit nano commands to within their build radius

1 messages · Page 1 of 1 (latest)

pale trout
#

ty @novel dove for helping me figure out command silliness

golden moth
#

cant test it but if it works literal god send

halcyon cypress
#

just yesterday i was thinking i need something like that. thanks! will give it a try

pale trout
#

@here just found a very serious issue with this, plz dont use until I post an update here

halcyon cypress
#

found it too i guess. cant use alt+e to do area reclaim with it anymore

pale trout
#

much worse than that, it'll break msot of your other widgets that do things with unit commands. But radius stuff is a possible other issue too, I'll look into fixing that as well

pseudo laurel
#

if id == CMD_FIGHT then return end

pale trout
# pseudo laurel return true

i am, I had to use weird hacks to get this to work because there's no AllowCommand for widgets, so I just need to go through and very carefully check what I'm doing

pseudo laurel
#

Ah ok

pale trout
#

It might jsut be fixed by setting layer = 99999

pseudo laurel
#

sure, ping me if assistance is needed

pale trout
#

seems the problem is that it was layer = 0 so the commands got cancelled before any other widgets got commandNotify

#

will do, thanks!

halcyon cypress
#

now even after deleting the widget my nanos are idle all the time untill i give them new comands and even on patrol they stop worrking after some time. do i need to reinstall the game or does deleting barluaui do the trick as well?

halcyon cypress
#

found the problem. the new widget just switched of the original immobile builders widget

devout niche
#

looks like this got removed... did a solution get put into the game?

merry root
#

looks like this was causing several hundred extra input actions.
perhaps a new version should be made where it simply deselects out of range culprits prior to issuing a command.