Warcraft III resources & community, 2003–2006 · archived

need an AI(like in dota)

2 posts
#1

need an AI(like in dota)

Can somebody tell me where can i get an AI like in DOTA. :?: :?: :?: :?: :?:
#2
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)