Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Czar missing carrier auto deploy functionality #6549

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions changelog/snippets/fix.6549.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#6549) Fix CZAR's deploy button not being like that of other aircraft carriers where you can right click it to enable automatic deployment of built units.
2 changes: 1 addition & 1 deletion engine/Core/Blueprints/UnitBlueprint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@
--- table of toggle capabilities available for this unit
---@field ToggleCaps table<ToggleCap, boolean>
--- table of boolean toggles set/got with SetStatByCallback/GetStat
---@field StatToggles table<string, table>
---@field StatToggles? table<string, true>
--- name of the unit
---@field UnitName UnlocalizedString
---@field UnitWeight number unused
Expand Down
10 changes: 8 additions & 2 deletions units/UAA0310/UAA0310_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,16 @@ UnitBlueprint{
Icon = "air",
OrderOverrides = {
RULEUCC_Transport = {
bitmapId = "deploy",
helpText = "deploy",
bitmapId = 'deploy',
helpText = 'auto_deploy',
behavior = 'AutoDeployBehavior',
initialStateFunc = 'AutoDeployInit',
statToggle = 'AutoDeploy',
},
},
StatToggles = {
AutoDeploy = true,
},
ToggleCaps = { RULEUTC_ShieldToggle = true },
UnitName = "<LOC uaa0310_name>CZAR",
},
Expand Down
Loading