Leveling Hero's

Iluvatar_Eru

Member
Joined
Aug 11, 2004
Messages
8
Reaction score
0
Website
Visit site
I want to set up a trigger that when a hero of a certain kind and level gains a level that unit is removed from the game and another hero is made in it's place. Basically i have the trigger set up except for the condition for the hero level. I have no idea where that condition is. So basically i want:

Event

`Unit-A unit owned by Player 1(red) Gains a level

Conditions

`All conditions are true
`((Leveling Hero) is a Hero) Equal to true
`(Unit-type of (Leveling Hero)) Equal to Human Footman
`(Proper name of (leveling hero)) Equal to Fred
Actions

`Unit - Replace (Leveling Hero) with Human Knight using The unit's new default life and mana
`Player - set name of (owner of (leveling Hero)) to Sir Fred



So basically i need the condition that states the level at which this happens. Can someone help me out?
 

Iluvatar_Eru

Member
Joined
Aug 11, 2004
Messages
8
Reaction score
0
Website
Visit site
Ok i figured that part out, but i thought of something else. What happens to the items in a heros inventory when they are replaced? Do i need to set a trigger for that so that they transfer from the old hero to the new replaced one?
 

New threads

Top