Iluvatar_Eru
Member
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?
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?