#Limit nano commands to within their build radius
1 messages · Page 1 of 1 (latest)
cant test it but if it works literal god send
just yesterday i was thinking i need something like that. thanks! will give it a try
@here just found a very serious issue with this, plz dont use until I post an update here
found it too i guess. cant use alt+e to do area reclaim with it anymore
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
return true
if id == CMD_FIGHT then return end
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
Ah ok
if I return true here it'll cancel any fight commands which isn't what I want, I just put that because there's no reason to limit the range of fight command for nanos since it'll work the same wherever its placed
It might jsut be fixed by setting layer = 99999
sure, ping me if assistance is needed
seems the problem is that it was layer = 0 so the commands got cancelled before any other widgets got commandNotify
will do, thanks!
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?
found the problem. the new widget just switched of the original immobile builders widget
looks like this got removed... did a solution get put into the game?
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.