Connection ErrorBad RequestSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Error Details:
Share Link
Killer5029Statistics
Registered:
Posts:27
#3088
Auto-translated
And also, in the map editor, it constantly displays the following when checking the script: “Function CaptureTown not defined Function p_owner not defined Function n_owner not defined Function hero not defined Function i not defined” Could this be the reason why it’s not working?
Added 2 minutes later Gerter
I don’t even know, everything works fine for me, I tested this code on your map... maybe you forgot to remove all the buildings that provide growth in the city in the editor?
And you need to remove all buildings related to growth, even the fort?
Added 2 minutes later It works now) I removed all the buildings and it started working, thank you)))
Added 1 minute later And could you please explain how this works? If it’s not too much trouble? For example, what does build mean at the very beginning? Why didn’t you declare this variable? What is i? Why didn’t you declare it either?