| 05-03-2005, 11:01 AM | #1 |
Can multiple sacrifice be done at all? I mean I want to make a train system that will upgrade certain unit by replacing it with a higher level unit. In other words in Barracs u want to train a footman. You click on the make footman button and then select a peasant. The peasant is sacrificed and turned into a footman. If you want to make a kinght (also made in barracs) you select footman. And footman is sacrificed to make a knight... Can this be done so that the building has the training progress bar like normal building? |
| 05-03-2005, 11:48 AM | #2 | |
Guest | Quote:
|
| 05-03-2005, 01:28 PM | #3 |
I suppose the question is if the undead's ability to turn acolytes into shades can be made to turn anything into anything. I don't know for sure, but I think I remeber a thread about this where it was said that it couldn't. |
| 05-03-2005, 08:57 PM | #4 |
Guest | Hey, wouldn't the ability "Chaos" help right here, but that would require more than one "Chaos" OH WAIT! Code:
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to <Dummy ability (sacfrice)>
(Target unit of ability being cast) Equal to <Unit>
Actions
Unit - Replace (Target unit of ability being cast) with a <New Unit> using The new unit's default life and manaOf course you'd need to make a trigger for each unit, but it should work. Piece, Hunter_Destruction |
| 05-04-2005, 10:15 AM | #5 |
No sorry the point was they would go to the building, disappear... and training of another unit will start. So that the process resembles to "real" training. In other words you train a peasant to become footman, you can't just presto and make a instant footman. Anyway tnx for help ![]() |
