#6018 closed defect (fixed)
Siege units automatically pack after unpacking if they are in formation
Reported by: | Langbart | Owned by: | wraitii |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 24 |
Component: | UI – In-game | Keywords: | |
Cc: | Patch: | Phab:D3561 |
Description (last modified by )
When a siege unit is in a formation, with one or more military units e.g.soldiers or other siege units and gets the order to 'unpack', it does so but immediately re-packs itself.
Also when I double click on 'unpack' I get these errors. They only occur if the siege units is in a formation, without formation a double click on 'unpack' will not produce errors.
ERROR: JavaScript error: simulation/components/UnitAI.js line 4206 order is undefined UnitAI.prototype.GetOrderData@simulation/components/UnitAI.js:4206:7 UnitAI.prototype.PushOrderFront@simulation/components/UnitAI.js:4051:74 UnitAI.prototype.ReplaceOrder@simulation/components/UnitAI.js:4178:8 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5408:8 UnitAI.prototype.CancelUnpack@simulation/components/UnitAI.js:5999:8 cancel-pack@simulation/helpers/Commands.js:690:15 ProcessCommand@simulation/helpers/Commands.js:53:23 ERROR: Failed to call ProcessCommand() global script function
In the GIF I tried first the 'unpack' in formation, then 'unpack' without formation and finally a double click in formation on 'unpack'.
Tested with 0ad-0.0.24rc1-24875-alpha-osx64.dmg and SVN version 24892.
This behaviour can not be reproduced in the A23b bundle.
The pack/ unpack bug can first be noticed with [24467].
The double click error can first be noticed with [24869].
Attachments (1)
Change History (5)
by , 3 years ago
Attachment: | siege_units.gif added |
---|
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
Probably due to the offsets, which tell the siege to move and hence to unpack.