| 03-12-2005, 12:35 AM | #1 |
I'm making a map and i have a hero who has an ability that's like metamorphosis, but it changes it to a hero with completely different abilities. I've got how to use this ability so that each unit has their own abilities. I have Event: A unit finishes casting a spell Condition: Name of spell equal to [spell name] Action: Replace triggering unit with [unit it changes into] The problem is that whenever the abilty is used, a new hero square is created in the corner. how do you make it so that there's only one? btw, i have another trigger thing for the other unit to change back to the first unit if that has anything to do with it. |
| 03-12-2005, 01:13 AM | #2 |
I think the problem is that you didn't specify which unit is casting it in the conditions so it'd be like this any character that casts the spell will get the morphed hero and the original hero, did you put a remove unit? did you specify which unit to remove? is your units set into variables? coz the only way for this to work is to put units into variables..maybe you missed that part out.. |
| 03-12-2005, 01:31 AM | #3 | |
Quote:
Alright, I have names and stats for them now: Death Master: Attacks really slow (10.00 cooldown :8), but has huge splash and melee attack with awesome dmg Strength 45 has abilities that just plain hurt stuff and an ability called Agility 15 Life Master which turns it into the Life Master Intelligence 15 Life Master: Attacks pretty fast (.8), with a ranged attack Strength 20 Agility 26 has abilities that just plain heal stuff and an ability called Intelligence 48 Death Master which turns it into the Death Master so there ya go. I'll try stuff out, but it probably won't work. I guess I'm going to need help with the variables now. They confuse me |
| 03-12-2005, 03:26 AM | #4 |
I tried using an adjusted bear form, but all I ended up with was a Light Master colored Death Master |
| 03-12-2005, 02:28 PM | #5 |
you need to use the trigger "unit - remove <insert thing here> from the game" which will remove the little hero portrait. |
| 03-13-2005, 01:08 AM | #6 | |
Quote:
:( strange. I tried that and it worked when the death master changed to life master, but when the life master went to death master the box appeared and it said that the life master died. and also, would you need variables to keep the level the same? |
| 03-13-2005, 09:34 AM | #7 |
well instead of removing the unit completely, have you tried using the robo goblin ability which the tinker has... that could possibly change your unit etc. |
| 03-13-2005, 02:04 PM | #8 |
Guest | how do you make a unit just like move? |
| 03-13-2005, 02:18 PM | #9 | |
Quote:
huh? and anyway i tried the robo-goblin thing, and i ended up with a black Life Master with death master abilities, and then when it changed back to the death master, it looked like the demon form of illidan |
| 03-14-2005, 02:44 AM | #10 |
yeah the goblin + mountain king + metamorph all have a problem, due to morphing they add life and stats to it which I don't think u can kinder around with, it's best to do things the hard way probably. by this I mean when u use the bear form thing, change the unit set it's lvl, and remove abilities, this is almost like saving the units data, u'd have to save all of it's attributes, and almost mold a new model with triggers, saving each spell level or whatever, and then using a ability listen trigg to work it all. it takes time for this, I got the sketches explaining it, but doing it will take some time. |
| 03-14-2005, 02:48 AM | #11 | |
Quote:
sorry for double posting, but I don't quite understand what you got here, why not try posting your map and see if someone can solve it, I'll try when I see what the problem is, and in your map under comments, try to explain in detail what it is you wanted again. |
