l)emonStorm
New Member
- Reaction score
- 3
i have two heroes with the same model file, but one flies and one does not. when the flying hero enters a region, i want it to turn into the one that cannot fly, but the user not to see any obvious flaws in this. Everything works well except for the fact that i cant seem to find a way to transfer the original hero's abilities to the new hero so the user doesnt have to re-teach the hero its abilities. Here is my trigger:
Any help is appreciated.
Code:
Events
Unit - A unit enters Gate 1 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Equal to Elemental Master (air)
Actions
Unit - Order (Entering unit) to Move To (Center of hero land region 1 <gen>)
Animation - Change (Entering unit) flying height to 0.00 at 1.00
Wait 1.50 seconds
Unit - Replace (Entering unit) with a Elemental Master (ground) using The old unit's relative life and mana
Hero - Set (Last replaced unit) experience to (Hero experience of (Entering unit)), Hide level-up graphics
Hero - Give (Item carried by (Entering unit) in slot 1) to (Last replaced unit)
Hero - Give (Item carried by (Entering unit) in slot 2) to (Last replaced unit)
Hero - Give (Item carried by (Entering unit) in slot 3) to (Last replaced unit)
Hero - Give (Item carried by (Entering unit) in slot 4) to (Last replaced unit)
Hero - Give (Item carried by (Entering unit) in slot 5) to (Last replaced unit)
Hero - Give (Item carried by (Entering unit) in slot 6) to (Last replaced unit)
Unit - Order (Last replaced unit) to Move To (Center of Hero move region 1 <gen>)
Any help is appreciated.


