Empire units stuck with 'open' doors
Operating System
Windows 10 Home 64-bit
CPU
Intel Core i7 6700HQ @ 2.60GHz 47 °C
Skylake 14nm Technology
RAM
32.0GB Dual-Channel Unknown @ 1197MHz (17-17-17-39)
Motherboard
Alienware 0FG0DK (U3E1)
Graphics
Generic PnP Monitor (1920x1080@60Hz)
Intel HD Graphics 530 (Dell)
NVIDIA GeForce GTX 1070 (Dell) 49 °C
ForceWare version: 378.66
SLI Disabled
Storage
931GB Hitachi HGST HTS721010A9E630 (SATA) 33 °C
Optical Drives
No optical disk drives detected
Audio
Realtek Audio
This is another easy bug to replicate. In the map editor, follow these steps:
1 - Create Three rooms, each of which are separated (require the units to travel to reach each).
2 - One room should be a lair, the other a tavern/slaughterpen, the final a barracks.
3 - Place templars in any of the rooms.
4 - Place doors at each entrance.
5 - Turn off the AI control for each door but leave each door Open.
6 - You should now have templars in a room, which has a door, which is open and the AI cannot lock it. The templars, ordinarily, would leave this room and travel to the slaughterpen/tavern and lair. The rooms can be very close, but make sure that a door separates them.
7 - Now playtest the level. The templars shall be stuck in the room and never leave, even though the door is open.
8 - Now allow the AI control again of the doors in the map editor. Playtest, and the templars leave.
Optional steps:
9 - Now actually lock the door and Do Not allow the AI control.
10 - Not only shall the templars behave as before, confirming the bug, but the padlocks shall disappear. If you reload the map editor, they shall also have disappeared. I believe that this may be related, perhaps suggesting that the locked state is not properly registered.
This works with any unit, templars are the easiest to demonstrate it with since they use the barracks often.
As was the case last time, I shall not attach an output log since it may be replicated very easily.
Nice catch, it came from a misunderstanding between Nano and me more than one year ago :D