• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 21
Joined
Dec 4, 2007
Messages
1,473
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