Auto-translated
Indeed, I rechecked the city names in the map editor and found that they are not named 'player_1', but 'castle1'. That's why it wasn't working. Although I initially thought that this function depended on the player's affiliation with the castle (PlayerID).
In the end, I entered the names into the castles, and, lo and behold, the creatures appear the next day, and the script works as intended.
Thank you very much for your help and useful information; you really helped me out😅.
In the end, I entered the names into the castles, and, lo and behold, the creatures appear the next day, and the script works as intended.
Thank you very much for your help and useful information; you really helped me out😅.