Connection ErrorBad RequestThis page went staleSession 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.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
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.
Combat scripts have one unpleasant feature: there is practically no information about them in the standard manual. I would suggest using developer maps for training; some of them (such as campaign 6, mission 5) have good combat scripts. In particular, the function that tracks the movement of a defending hero's creature: function DefenderCreatureMove(Unit) This function summons creatures (temporary summoning): SummonCreature(to whom, which, how many, coordinates) I would track the number of deaths using: GetCreatureNumber(unitName); Something like that.