Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion mods/AKA/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function Main()
:Action 'StartCommandMode order RULEUCC_Attack',
}

CategoryMatcher "Select nearest idle t1 engineer / reclaim / toggle shields / toggle stealth"
CategoryMatcher "Select nearest idle t1 engineer / reclaim / toggle shields / toggle stealth / toggle jamming"
:Modifiers { shift = true }
{
CategoryAction()
Expand All @@ -153,6 +153,12 @@ function Main()
return Contains(toggles, "RULEUTC_ShieldToggle")
end)
:Action(function() Misc.toggleScript "Shield" end),
CategoryAction()
:Match(function(selection)
local orders, toggles, _ = GetUnitCommandData(selection)
return Contains(toggles, "RULEUTC_JammingToggle")
end)
:Action(function() Misc.toggleScript "Jamming" end),
CategoryAction()
:Match(function(selection)
local orders, toggles, _ = GetUnitCommandData(selection)
Expand Down