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

Ai aos

Status
Not open for further replies.
Level 1
Joined
Sep 18, 2009
Messages
2
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
 
Level 4
Joined
Jul 24, 2009
Messages
59
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.
 
Level 8
Joined
Feb 15, 2009
Messages
463
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 ... ....
 
Level 8
Joined
Aug 21, 2009
Messages
333
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.
Top