Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2096
Auto-translated
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%), Война Грааля

Statistics

Welcome our newest member: artem

Users Online 2 users 1524 guests