| 10-04-2003, 11:26 PM | #1 |
im trying to make a spell that would turn certain units into other certain units. i made a dummy spell and im trying to make triggers do the rest, but i cant get it to work. im trying to get it to when ability is cast, ability equal to ....., if unit equals lets say peasant replace peasant with super peasant. how would i do this? --------------------------------------------------------------------- what im trying to do exactly is make a spell that would change lets again say, if used on a peasant, it would turn it into a super peasant. ive been using a dummy spell though, and trying with triggers, but i havent had any luck so far. |
| 10-05-2003, 12:46 AM | #2 |
This trigger should sufficeL EVENTS A unit finishes casting an ability CONDITIONS Unit-type of casting unit equal to peasant Ability being cast equal to Upgrade EVENTS Replace casting unit with Super Peasant Base the ability 'Upgrade' of roar with no duration. This should work. Oh, and make Upgrade cost no mana etc unless you want it to. |
| 10-05-2003, 01:10 AM | #3 |
um, i must not hve been clear, sry. i wanted the spell when targeted on the peasant to change him into super p |
| 10-05-2003, 01:19 AM | #4 |
In that case you need to use a Unit Is Issued With An Order Targetting An Object event and change casting unit to targeted unit. Also, change Abilty being cast qual to upgrade to 'Issued order equal to 'ability you based Upgrade off'. You'll also need a range checker, but that shouldn't be too hard. Base Upgrade of a spell that targets units. |
| 10-05-2003, 04:53 AM | #5 |
if you have an advanced editor such as we unlimted i could explain this to you very easily. if you don't have one i don't want to waste my time. so do you have we unlimted? if so i'll help u out. |
