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
Current questions and answers regarding the map editor.
Okay...
```
function ChetBegin()
attackers = GetAttackerCreatures()
for index, attacker in attackers do
count=count+ GetCreatureNumber (attacker);
end;
return count
end
function Chet()
attackers = GetAttackerCreatures()
for index, attacker in attackers do
newcount=newcount+ GetCreatureNumber (attacker)
end;
return newcount
end
count=0
newcount=0
repeats=1
begin=1
function AttackerCreatureMove()
if begin==1 then
ChetBegin()
begin=0
end
Chet()
if repeats==1 and count>newcount then
SummonCreature(DEFENDER, 31, count-newcount)
count=newcount
end
repeats=0
newcount=0
end
function DefenderCreatureMove()
repeats=1
end
```
IT WORKED:smile44:
Thanks to everyone for the help:smile03:
Added 1 minute ago
Heroist
What? I just checked, nothing happens. Please explain in more detail) ======================================
When I click, all objects and even the landscape on the map get mixed up. Something is deleted, something is moved to the end of the map, holes appear in the mountains, and some are replaced with openings under the textures.
What version of the editor do you have?
I've worked with 1.0, 3.0, 3.1, and I've never noticed anything like that...
Мои карты: Town Готовится:Чума (40%), Сосиска(42%), Война Грааля