#Right click attack and set target

1 messages · Page 1 of 1 (latest)

oak karma
#

This widget will make it so when you right click attack a unit, it will also set target on them. So moving away it will remember that as your target.

Installation
Place widget inside: Beyond-All-Reason\data\LuaUI\Widgets

Search settings for "target"
Set-target as default: set to off
Attack sets target: set to on

Lexon is the author so ping him if any issues.

boreal dome
#

This is already in the base game?

#

It's somewhere in settings, there's a toggle for right click to set target instead of attack.

#

Or does this mean it will set target and attack move at the same time?

oak karma
#

Yeah it does both. This is actually how it works in ZeroK.

boreal dome
#

Ah ok

gloomy field
west wagon
#

wait did you have to manually give all set target commands before?

oak karma
#

Before you could only choose one or the other. So you can have right click set target or right click attack.

#

By default it’s right click attack. And by default if you right click move away after attack it no longer has a target.

pure meteor
#

ell

somber grove
#

@polar edge i wanted to reverse the widget, so that the set_target command is associated with an attack command (so that i can keep set_target as my default option for right click). But it turns out that this is a custom command so i cannot use the Callin you use. Any idea how i could hook the set_target command ?

polar edge
#

There is a setting for that already, right click to set target

somber grove
#

but i wanted to keep my default as set target (and get the additional attack behaviour), because nowaday, there is a lot of match with widgets diabled, and everytime i need to change my settings

polar edge
#

I think that's exactly the reason why I had to make it check for attack command.

#

Unfortunatelly I can't tset anything rn, if I open VS code my PC crashes...

somber grove
polar edge
#

too funny

somber grove
#

you wanna work ? the computer refuse

#

checkmate