Starting a script with empty guard spots should typically remove all of them: instead, when this issue occurs one guard persists, and sometimes seems to potentially "steal" away another guard's location (not sure how to consistently repro this part of the bug though :( )
If there is only one empty guard spot on town init it seems to persist 100% of the time; the guard that persists seems to always be the highest unit index
Files for repro
Notes:
Could not repro in unmodded RM
Repro:
- Download the provided exe, map
- Launch the map, wait for dragoons to die (triggers, no action needed) and the script to start a few seconds later
- Observe as one dragoon persists through guard removal on script start (should be done by 40 real-life seconds)
Starting a script with empty guard spots should typically remove all of them: instead, when this issue occurs one guard persists, and sometimes seems to potentially "steal" away another guard's location (not sure how to consistently repro this part of the bug though :( )
If there is only one empty guard spot on town init it seems to persist 100% of the time; the guard that persists seems to always be the highest unit index
Files for repro
Notes:
Could not repro in unmodded RM
Repro: