2025-07-21 18:43 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004372Spring enginepublic2018-10-23 17:03
Reportermsafwan 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
Product Version96.0.1+git 
Target VersionFixed in Version 
Summary0004372: CMD.Unload_units don't trigger gadget:AllowCommand() if targeted at sea for non-sea unit.
DescriptionI have a gadget which detect CMD.Unload_Units and check whether cargo is amphibious or not, and if amphibious it ask the transport (using script) to drop the unit at sea (skipping unload AI)

The problem is, in Spring 96+ the command did not appear in gadget:AllowCommand() (except if SHIFT is used), this complicated things a lot

I request CMD.Unload_Units to trigger gadget:AllowCommand() despite invalid task.
Additional InformationIf engine can know whether unit is amphib or not, and automate disembark at sea would be best, but fixing the CMD.Unload_units is good enough :)

Thanks.
Tagsair transport, command handling
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2014-04-29 12:40 msafwan New Issue
2014-04-29 12:41 msafwan Tag Attached: air transport
2014-04-29 12:41 msafwan Tag Attached: Transport behavior
2014-04-29 12:42 msafwan Tag Attached: command
2014-04-29 12:44 msafwan Tag Detached: Transport behavior
2014-04-29 12:44 msafwan Tag Detached: command
2014-04-29 12:44 msafwan Tag Attached: command handling
2018-10-23 17:03 Kloot Status new => closed
2018-10-23 17:03 Kloot Resolution open => won't fix
+Issue History