Auto set target for mercuries and screamers to certains planes hierarchically (to better avoid a liche attack for example)

Spring EngineLua Scripts

Images



File Information

Title / Version Auto set target for mercuries and screamers to certains planes hierarchically (to better avoid a liche attack for example) 2
License Freeware / Free
Filename cmd_set_specific_targets_for_mercuries_and_screamers.lua
Filesize 13.68 KB
Date 05/27/2020 - 14:35
Changed 05/28/2020 - 10:24
Publisher / Author tulipe (Uploaded by tulipe)
Keywords

Description

With this widget enabled, mercuries and screamers (t2 anti air huge towers) should target only some planes.
By order :
1.liches/krows
2.bombers/seabombers, torpedo bombers
3.radarst2planes
4.brawlers
5.construction aircraft

Widget tested especially with ba 9 version but it should works with some others mods, like ba 10.24 or with bar. Ba 10.24 and bar mods seem to have a function like this with a special button when you select a mercury or a screamer, but ba 9* don't hav this button in user interface (in may 2020).

Download of this widget:
Click on "DOWNLOAD" button then on the new page, right click on the link "cmd_set_specific_targets_for_mercuries_and_screamers.lua" (and not just "Click the link to start your download:", as I saw written), and choose "save link as..." (or something like this, eventually wrote in your language) and choose a folder where to download the file.

Installation of this widget:
-for windows, you should put it in C:\Users\your_current_account_name\Documents\My Games\Spring\LuaUI\Widgets. Or maybe another folder (eventualy, see https://springrts.com/wiki/Lua_Widgets)
-for linux (at least some linux distributions (for example ubuntu)), I'm unsure, but I think you should put it in ~./spring/LuaUI/Widgets
After placing it in the folder, you should see the widget ingame in the list after pressed the F11 key. Widget should appears after the widgets wrote with an asterisk at the end. The name of this widget should be "Set specific targets for mercuries and screamers".