1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[AI] need an AI(like in dota)

Discussion in 'Triggers & Scripts' started by uzi8, Jun 3, 2006.

  1. uzi8

    uzi8

    Joined:
    Jun 3, 2006
    Messages:
    8
    Resources:
    0
    Resources:
    0
    Can somebody tell me where can i get an AI like in DOTA. :?: :?: :?: :?: :?:
     
  2. DenZel94

    DenZel94

    Joined:
    Jun 4, 2006
    Messages:
    127
    Resources:
    5
    Maps:
    3
    Tutorials:
    2
    Resources:
    5
    i'm not sure if this is used in dota

    1st Level
    EVENT
    - Unit - (Unit) finishes training a unit
    CONDITIONS
    - (Unit type of (Trained unit)) Equal to (unit)
    - ((Player) controller) Equal to Computer
    - Level of (Trained unit) Equal to 1
    - Owner of (Trained unit) Equal to (Player)
    ACTIONS
    - Hero - Learn skill for (Trained Unit): (Skill)

    Level 2 or up
    EVENT
    - Unit - Unit gains level
    CONDITIONS
    - ((Player) controller) Equal to Computer
    - Level of (Triggering unit) Equal to (More than 1)
    - Owner of (Triggering unit) Equal to (Player)
    ACTIONS
    - Hero - Learn Skill for (Triggering Unit): (Skill)

    Continue Attack after casting
    EVENT
    - Unit - A unit Finishes casting an ability
    CONDITIONS
    - Owner of (Casting Unit) Equal to (Player)
    - ((Player) controller) Equal to Computer
    - Or any (Conditions) are true
    - (Ability being casted) Equal to (Skill)
    - THEN CONTINUE
    ACTIONS
    - Wait (seconds) (for reincarnation skill somthing like that)
    - Order (Casting Unit) to Attack-Move to (Center/Random point of (Region))

    Summoned Unit Attacks
    EVENTS
    - Every 1 second of the game
    CONDITIONS
    - Owner of (Picked Unit) Equal to (Player)
    - ((Player) controller) Equal to Computer
    ACTIONS
    - Unit Group - Pick every (unit of type) and do (Unit - Order (Picked Unit) to Attack-Move to (random point/Center of (region))

    Hero Retreat
    EVENTS
    - Unit is Attacked
    CONDITIONS
    - ((Attacked unit) is a hero) Equal to True
    - (Owner of attacking unit) Equal to (Player)
    - ((Player) controller) Equal to (Player)
    ACTIONS
    - Unit - Unit order (attacking unit to move to (center/random point on (region)
    - Wait (seconds)
    - Unit - Unit order (attacking unit to Attack-move to (center/random point on (region)