Shapeshifting form

R

Rakendar

Guest
Hello! :)
I am creating a little hero defense map. :D
I finished the terrain and made some units and heroes.
Then i wanned to create a Storm Crow form for Druid hero.
So i did - i configured custom ability and was thinking of that, when the hero shapeshifts it changes abilities. I thought i could make that with a trigger.
I could find only the remove/add ability to hero when the form spell begins effect... I just can't figure it out how to swap skills when creating forms. :(
And when i went to test it, wc3 dropped off error when i pushed the button!

How can i create hero spells that make them shapeshift and change abilities..?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
You can't add Hero abilities with triggers, as far as I know.
I'm not sure that I understand your problem though....

Also, make sure that both forms of your unit are heroes. Heroes cannot change to non-heroes and vice-versa.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Unit - Add Ability to Unit?

Why wouldn't it be possible to add abilities by using triggers?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
> Why wouldn't it be possible to add abilities by using triggers?

You can add all the abilities you want.
You can't add HERO abilities.
At least, if you do, they won't be levelable like normal....
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
No, but you can replace the old abilities with new ones, store the level of the old abilities in variables and set the new ones to those levels, and you pretty much got yourself a new hero.
 

Vassilev

New Member
Reaction score
39
*ahem* Excuse me, I might sound like a total noob but I've always had problems with morphing... :eek:

What are the basic rules for morphing? like, must they have the same classification, race, and everything?

There was a time I clicked morph on my unit and it died... quite hilarious :D

Which ability shld I use for Unit to unit? is there a limitation on morphing?
 

hio77

New Member
Reaction score
1
cant you just make a tmp point and kill the hero then rebuild it maybe oder it instatly to a random spot and convert it on use of a skill
 

linamus

I r bak!
Reaction score
57
The problem is that when unit morphs it changes to different unit and trigger won't afect that "old morphing" unit. Spells like "Metamorphosis" "Robo-Goblin" keeps same unit, but if you change model it will crash in game when morph is clicked
 
R

Rakendar

Guest
So, i added the storm crow form as hero ability and everything so... it was ready to stay between other skills there.
But if you got to use variables for it, then please make a guide for me, its realy hard for me to set up variables to use when i create them...
And yes i tried the trigger to make like that,


A unit starts the effect of a spell

The spell is equal to storm crow

If all conditions are true then do actions else do else actions

conditions > the level of storm crow (or whatever was it there) is equal to 1

actions > remove the ability there is
remove the ability there is
remove the ability there is

add the ability i wanted there
add the ability i wanted there
add the ability i wanted there


Something like that, then i just cant figure it out, because i know something is totally wrong there, i thought of using variables, but i said before that i have some problems with them, so it would take me some time, but anyway i can do it because I've been doing it ONE time but that was a bit long time ago...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top