A question for mapmakers: is it possible to make a script so that if any player captures a certain town, a countdown of 3 days begins until their victory, provided they hold the town. If the town is recaptured during those 3 days, the same script would start for the other player. Additionally, an event needs to be sent at the start of each turn to all players saying that they have n turns left to recapture the town, or to the town's owner — hold the town for n more days to win. Also, a message should be sent to all players immediately when the town is captured, stating that such-and-such player has captured the town. If they hold it for 3 days, they will be declared the winner. In short, the goal is to make it so that holding the target town for 3 days counts as a victory for the player.
Question for mapmaking experts
Auto-translated
Map details
No map details have been filled in yet.
A question for mapmakers: is it possible to make a script so that if any player captures a specific town, a 3-day countdown begins for their victory if they hold the town. If the town is recaptured within those 3 days, the same script starts for the other player. At the same time, an event needs to be sent at the start of each turn to all players saying "you have n turns left to recapture the town," or to the town's owner "hold the town for n more days to win." Also, a message should be sent to all players immediately when the town is captured, stating that such-and-such player has captured the town. If they hold it for 3 days, they will be declared the winner. In short, it needs to be set up so that holding the target town for 3 days counts as a victory for the player.
In theory, this can be done with the standard editor without mods: the "Capture" event for the town + numeric variables + daily events + owner check + the "Victory" command. And it's better to disable the standard victory condition.
The only thing I can't advise on is how to show a message to everyone immediately upon capture; I think that's not possible in the standard editor. The standard mechanic is that only the current player sees the message, and the others receive a notification at the start of their turn.