HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Small problem any ideas?

02-25-2003, 02:28 PM#1
Spectralist
I have a map more or less working, but theres a strange problem with one of the units, the shapeshifter who starts with 2 morphs that work fine.
but if he learns his lvl 6 spell(metamorphasis) while in a different form it doesnt work he just does his cast animation then stands still till you give him an order, then walks around unable to cast spells till the time runs out.
this doesnt happen with any of his other spells though
so if anywon knows why this happens or how to fix it, or a way to make him unable to learn skills while in another form please inform me.
02-25-2003, 06:51 PM#2
DaKaN
that is a wierd problem... does the unit have 2 morph codeIDs the same? eevn though the alias or uberalias may be different, a unit cannot have 2 spells with the same "code"

check to see if that is the case first...
02-25-2003, 07:40 PM#3
Guest
in easy-to-understand-words:
One Unit cannot have 2 spells of the same type (i.e. 2 spells based on metamorph, or 2 different thunderclap)
02-25-2003, 09:18 PM#4
Spectralist
he doesnt have any of the same 1 morph is bear form 1 is crow form, they both work - he also has chain lightning, frost nova, carrion swarm, metamorph, command aura
the last 5 are hero skills and they all work no matter what form I learn them in however the metamorph only works when I learn it in the basic form.
so thats more specificaly the problem the units cant cast spells in his morphs so if there were a way , useing triggers to make him unable to learn them when morphed as well .... well thats what i'm trying to figure out how to do but i cant figure it out :(
02-25-2003, 09:49 PM#5
MicrosoftXP
heros w/ the metamorphosis ability do not enherit any hero spells other than the default DH ones, (immolation, evasion, m.burn) so you have to use the bear and crow but unfortunately u cant have all 3 on the same base shape shifter unless you want to morph into a skillless battle beast or use the DH abilities.

(this is how i understand it at least)
02-25-2003, 09:58 PM#6
Guest
You're basicly screwed... there's no way to make that work unless you make new unit or somthing... add animations... etc... etc...

~AfterShock
02-26-2003, 05:09 PM#7
DaKaN
you could get complex and detect the morphs with triggers and replace the unit, but then you would need to keep track of tomes used, the items to copy over to the new unit, skills learned.. probable too much trouble than what its worth
02-26-2003, 06:51 PM#8
Guest
The metamorph line in the .slk has a datafield for the base unit and a datafield for the transforming unit. The transformed unit will only have the spells the base unit has...

Obviously, if you never changed this base unit field, you'll have the default DH skills. If these skills haven't been learned by the hero, then they show up as blank.

This would or could be a problem with 3 different unit types. Afterall, you would need to choose a base unit from one of the first two forms. If the second form had different skills, then these wouldn't show up when morphed.