Ai aos

Status
Not open for further replies.

gauvain1989

G

gauvain1989

Hello,

I want to remake Xtrem Aos map. So I have a problem. I don't know how to tell units attack (move-attack) and use the spell as AI ?

Thx to your help
 
Make a trigger that looks like this:

  • Human Spawns BL
    • Events
      • Time - Every 20.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 4 Footman for Player 2 (Blue) at H_SPAWN facing 270.00 degrees
      • Unit - Create 2 Knight for Player 2 (Blue) at H_SPAWN facing 270.00 degrees
      • Unit - Create 2 Tank for Player 2 (Blue) at H_SPAWN facing 270.00 degrees
      • Unit Group - Order (Units in Human Spawn <gen>) to Attack-Move To Center
You need basic variable knowledge to do this, look in the tutorial section to find that.
 
Man Labiathan second time in a few minutes a see total bullsh*t from you.
For the AI: YOu can use the AI editor - we have several tutorials in here
or you do it with trigger like e.g. a unit comes in range of ...
... has mana
order ... to ... ....
 
Some spells are pre-programmed to work with computer players when you have them move-attack.

Here are a few examples from my experience:
  • any auto-cast ability if you set it as the active one
  • storm bolt
  • fan of knives
  • mirror image
  • ensnare
  • sleep
  • many other melee hero abilities
this means that if you order an AI unit with any of these abilities to move-attack, it will use them on its own.
 
Status
Not open for further replies.
Back
Top