Modify ↓
Ticket #1416 (new bug)
Changing players by ctrl+o deactivates AI scripts
| Reported by: | Per | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | unspecified |
| Component: | Engine: Scripting / AI | Version: | git/master |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Operating System: | All/Non-Specific |
Description
In trunk. This regression must be recent, since I tested doing this quite recently.
Attachments
Change History
comment:2 Changed 2 years ago by Per
Update: This is not recent after all, I must just not have seen it before. The problem is in 2.2, 2.3 and trunk, but harder to test on older releases because changing active player would cause crashes until recently.
What is happening is that if selectedPlayer != starting player in skirmish, then only selectedPlayer's AI appears to be executing. Everyone else is on hold. If selectedPlayer becomes starting player again, all AIs start running again.
Note: See
TracTickets for help on using
tickets.

The AI script for the currently selected player is the only one that is run.