HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

a question about a thing

03-12-2005, 12:35 AM#1
Spybloom
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
MeTaCo
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
Spybloom
Quote:
Originally Posted by MeTaCo
so you want the unit to morph into another unit, I get that part, but the part I don't get is when u ask that u either want the 2 heroes to have the same ability or the two heroes to have their own seperate ability

I've got your answer if u want both heroes to have the same ability, if that is the case then why not use the bear form? from the druid, that way u can have same ability as a form of another unit, just make sure the other form is a hero as well, when morphed stats remain the same just the model change if thats what u wanted, if u wanted to add stats or so u'd have to put another trigger and a few variables for stats storing

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
Spybloom
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
logik
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
Spybloom
Quote:
Originally Posted by logik
you need to use the trigger "unit - remove <insert thing here> from the game"


which will remove the little hero portrait.

:( 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
logik
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
Spybloom
Quote:
Originally Posted by darkness50
how do you make a unit just like move?

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
MeTaCo
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
MeTaCo
Quote:
Originally Posted by Spybloom
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

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.