FOR LEVEL 2 or up
EVENT
- Unit gains level
CONDITION
- ((Player)controller) Equal to Computer
- (Level of (Triggering Unit)) Equal to (Level)
- (Owner of (Triggering Unit)) Equal to (Player)
ACTION
- Hero - Learn Skill for (Triggering Unit): (Skill)
FOR LEVEL 1 (TRAINING STYLE)
EVENT
- (Unit) finishes training a unit
CONDITIONS
- (Trained Unit) Equal to (Unit)
- Owner of (Trained Unit) Equal to (Player)
- Level of (Trained Unit) Equal to 1
- ((Player) controller) Equal to Computer
ACTIONS
- Hero - Learn Skill for (Trained Unit): (Skill)
I don't know if nobody really uses this AI trigger
--EDIT--
I almost forgot about this
EVENT
- Unit finishes casting an ability
CONDITIONS
- Owner of (Casting Unit) Equal to (Player)
- ((Player) controller) Equal to Computer
- Or any (Conditions) are true (if you have more than 2 skills)
- (Ability being cast) Equal to (ability)
- THEN CONTINUE
ACTIONS
- Wait (seconds) (if skill is like reincarnation)
- Order (Casting Unit) to Attack-Move to (Center of(Region)