• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Enemies run away, when they start loosing

Status
Not open for further replies.
Level 1
Joined
Apr 16, 2019
Messages
2
Hi guys,
I have a problem in world editor. When I make a map and my units encounter enemies, enemy´s units start to run away, when they start loosing. They run away for few meters, then they turn back, got one hit and they start running again.

Do you have any idea how could I solve this problem?
Thanks
 
Level 23
Joined
Dec 4, 2007
Messages
1,558
It's probably due to the ai taking over, if you left the default map initialization on:

Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
 
Status
Not open for further replies.
Top