• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Hero Morphing

Status
Not open for further replies.
Level 3
Joined
Feb 1, 2013
Messages
43
I'm trying to make a spell that transforms the hero into another unit, I've tried using the Bear form and Robo-Goblin, but every time I use the spell, the hero just performs the casting animation, and the hero will become level 1 and drop all its items without transforming at all. What should I do?
 
The same thing still happens...I clicked Metamorphosis, the hero casts the spell, then it dropped all its items, reset to level one. After the Metamorphosis ends the hero stays at level one.
 
Never mind, I found out that it doesn't work when the Data-Alternate Form Unit is set to some unit types, though I don't know which type...however, I wanted to make it so that when the hero morphs, it loses all its original ability (gain new ones if possible, though it's optional) until the metamorphosis ends...
Extra:if I want to set a trigger that happens after the unit metamorphosis back to its original form, which event should I use? Also, can I set the aggressive stance towards certain unit only, or must it affect all units of that player?
In case what I say isn't understandable, here's what I'm talking about:
  • Aggresiveness
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to My Spell
    • Actions
      • Player - Make Neutral Hostile treat (Triggering player) as an Neutral
 
I found out the abilities are gone when when I set the gameplay constant Gameplay - Morphing Disables Alternate Abilities to true, that is good enough...still,
Extra:if I want to set a trigger that happens after the unit metamorphosis back to its original form, which event should I use? Also, can I set the aggressive stance towards certain unit only, or must it affect all units of that player?
any ideas how to solve this? Besides, I still have another problem: how to set it so that I get gold bounty when I kill an enemy player's unit?
 
I found out the abilities are gone when when I set the gameplay constant Gameplay - Morphing Disables Alternate Abilities to true, that is good enough...still,any ideas how to solve this? Besides, I still have another problem: how to set it so that I get gold bounty when I kill an enemy player's unit?

For the gold bounty, you can turn it on through triggers like this example:

  • Player - Turn Gives bounty On for Player 12 (Brown)
It will make Player 12 Brown give gold when a unit of that player dies.
 
Extra:if I want to set a trigger that happens after the unit metamorphosis back to its original form, which event should I use? Also, can I set the aggressive stance towards certain unit only, or must it affect all units of that player?

A unit is issued an order with no target
Order equal to unmetamoprhosis

You can't make only one unit hostile.
 
A unit is issued an order with no target
Order equal to unmetamoprhos
I found out that there isn't "unmetamoprhos"(I tried unmetamorphosis too) but it gave me an idea, so I used bearform/unbearform instead...and it worked.
 
Status
Not open for further replies.
Back
Top