• 🏆 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!

Need help with AI

Status
Not open for further replies.
Level 3
Joined
Nov 30, 2010
Messages
29
46zlul3p.png


My problem is, that the Kodos often stuck (like in the picture) and dont enter the base. The entrance is in the right and blocked by a spiked box. Instead of attacking them they stuck and maybe after 1 minute they try to attack the wall.

My triggers:

  • Auto Attack Crazy
    • Ereignisse
      • Einheit - A unit enters NE Jail <gen>
      • Einheit - A unit enters NW Jail <gen>
      • Einheit - A unit enters SE Jail <gen>
      • Einheit - A unit enters SW Jail <gen>
      • Einheit - A unit enters Classic Jail <gen>
      • Einheit - A unit enters Jail Ice <gen>
      • Einheit - A unit enters Map3 Jail <gen>
      • Einheit - A unit enters Jail Slide <gen>
    • Bedingungen
      • (Unit-type of (Triggering unit)) Gleich |CFFFF9696Crazy Kodo
    • Aktionen
      • Set TempGroup = (Units of type |CFFFF9696Crazy Kodo)
      • Set TempLoc = (Position of (Random unit from RunnerToAttackGroup))
      • Einheitengruppe - Order TempGroup to Angreifen/Bewegen nach TempLoc
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: call RemoveLocation(udg_TempLoc)

  • Attack Runner Crazy
    • Ereignisse
    • Bedingungen
    • Aktionen
      • Set TempGroup = (Units of type |CFFFF9696Crazy Kodo)
      • Set TempLoc = (Position of (Random unit from RunnerToAttackGroup))
      • Einheitengruppe - Order TempGroup to Angreifen/Bewegen nach TempLoc
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: call RemoveLocation(udg_TempLoc)
Hope someone can help me.
 
Last edited:
Level 3
Joined
Nov 30, 2010
Messages
29
Sry im german and KI (künstliche intelligenz) stands for Artificial intelligence.

So i need helping improving the kodos intelligence.
 
Level 3
Joined
Nov 30, 2010
Messages
29
@Mechanical Man

The Kodos should not attack those walls. You cant see it in the screen, but on the rights side there is an entrance. I just built one building there and instead of attacking it and entering the base, they just stuck.
 
Level 12
Joined
Oct 16, 2010
Messages
680
try this

make more order points within shorter distances

order them with move order and if they didn't reach the point in time reorder them with
attack-move

and for more if a building is destroyed u can reorder units around it with move order
so they wont smash down every building in sight:p and will move along if they can now
 
Status
Not open for further replies.
Top