I've been searching for how to do this for a while, and I've found nothing so far, so here it is. How do I have a unit upgrade into another unit, like in dark deeds where the young man can upgrade into a milita.
No, that's really not what I wanted. The unit upgrades itself sort of like a building. I found an unprotected map this was done on, and as far as I can tell, it's not done in the character editor, it's not an ability, and it's not a trigger.
Yeah, I can. It's the tinker's ultimate. In the spell, all you need to modify is the starting out unit, and the unit it upgrades to. Then make that same spell again, just reverse them. Then give the spell to your unit.
Why don't you just base the upgrade off a building upgrade? (Necropolis to Halls blabla)
imported_Bort
#8
Umm. There must be a trigger in there somewhere. The best way i can think of doing it is make the unit have a unit it sells (Object Editor-Techtree-Units Sold), ie the Young Man is in actual fact selling the worker. Then there is a trigger which goes something like this:
UpgradeYoungMan Events: A unit Sells a unit Conditions: Unit type of Selling Unit equal to Young Man Actions: Unit- Replace Selling Unit with Sold Unit
Hmm. Thats how i would do it. I can't remember whether it takes time to become a worker/warrior (does it? if so i'm stuffed)
BortUmm. There must be a trigger in there somewhere. The best way i can think of doing it is make the unit have a unit it sells (Object Editor-Techtree-Units Sold), ie the Young Man is in actual fact selling the worker. Then there is a trigger which goes something like this:
UpgradeYoungMan Events: A unit Sells a unit Conditions: Unit type of Selling Unit equal to Young Man Actions: Unit- Replace Selling Unit with Sold Unit
Hmm. Thats how i would do it. I can't remember whether it takes time to become a worker/warrior (does it? if so i'm stuffed)
Bort
ya that soulnds about right in a lot of pre tft (the frozen throne) maps people use it like this events:a unit levels up conditions:unit=level 10 or is it 9 unit=red man events replace red man with big red man using relitive life and mana
I used the base unprotected map that I have, and I used a unit that was already able to be upgraded. The way I did it with the units selling the unit didn't work in that 1. the new unit warped a few feet away from the old one, and 2. that the other upgraded units kept the same units selling. It's kind of confusing so I added the picture.
Go to object editor - click on peasant (example) and go under techtree - units sold, and add a unit you want, in this case I put a footman.
Now create a trigger:
Untitled Trigger 001
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Sold unit)) Equal to Footman
Actions
Unit - Remove (Selling unit) from the game
Unit - Create 1 Footman for (Owner of (Buying unit)) at (Position of (Selling unit)) facing Default building facing degrees
imported_Bort
#13
my trigger works better: for yours (elfwarfare) youll end up with 2 footmen, onr at a different position,and it wont work for any upgrade (ie to young man or militia)
wait..I think this is what you want eh try the unit to--->building then modify tech tree upgrades to section keep at mind that what ever it upgrades to becomes a building even if thats not a normal classification it has some nasty draw backs that being among them here are 2 more 1)new unit catches fire when its low on hp...lol 2)if unit is a hero when it dies it wont disapate and wont revive at an altar dont know about triger revive ...I hope this is what you wanted...