Warcraft III resources & community, 2003–2006 · archived

[Spell Request] vampire bat form

11 posts
#1

[Spell Request] vampire bat form

hey guys,

I was wondering if anyone could help me make a spell.

the spell is to turn a dreadlord into a gargoyle for a given time period and them back to a dreadlord, its a metamorphisis type spell but i just cant get it to work.
#2
Okay first use the Methamorphosis spell. Maybe it doesn't work because you take the common Gargoyle (unit) while the Dreadlord is a hero. So you must create a Gargoyle hero copied from a Dreadlord (same stats, speeds and others, but different model and icon). Next pick your meta then change the values and typos.
#3
thanks dude, ill give it a shot tomorrow and see if it works
#4
it's actually not a good idea to do time expired metamorphosis into flying units, because if you are over water or over trees when the metamorphosis is over then you run into BAD problems.

this happened to me when i was creating the same sort of ability.

if they meta back over water, they die.
if they meta back over woods their elevation doesn't change properly. i would avoid making this ability last a certain amount of time, but instead, a permanent amount of time until they want to switch back to the dreadlord... like in Dracula's Curse.

you could base this type of ability off of the druid of the talon's storm crow ability.
#5
I forgot that, but he can just set a Flying Height but w/o setting the Gargoyle to Fly.
#6
ArcsolI forgot that, but he can just set a Flying Height but w/o setting the Gargoyle to Fly.


if i am thinking correctly, this would solve the flying height problem but make him get stuck in a random spot within trees... and he'd still die over water wouldn't he?
#7
No, it would make the gargoyle act as a ground unit for pathing purposes.
#8
would it be possible to create a trigger to counter this problem, to say:

If unit changes back over water/trees/cliffs/etc., move unit to closest walkable area?

if so would someone mind helping me with that trigger too?
#9
or you could just say

Unit - A Unit Begins Casting an Ability //YES, BEGINS CASTING IS INTENTIONAL
Conditions
Somehow check if the location isnt pathable here, Im not familiar with this in GUI
Actions
Unit - Pause Triggering Unit
Unit - Order Triggering Unit to Stop
Unit - Unpause Triggering Unit
//display error message here
#10
Why do you pause and unpause the unit?
#11
Stop can get weird unless you Pause/Unpause around it, when you are trying to override oders that are in progress, mainly casting spells