help with metamorphosis-type skill please
Moderator: Cheaters
-
- Member
- Posts: 57
- Joined: April 26th, 2007, 7:53 pm
help with metamorphosis-type skill please
Does anyone know how to set it so, after using a metamorphosis-type skill, during the transformation, you can have certain skills the unit knows removed, and re-added when the skill is over? For example, say a unit normally has a "sword slash" ability, but when transformed doesn't have a sword, and thusly you want the ability removed during that transformation. sorry if it's a little confusing ^_^;
-
- Member
- Posts: 62
- Joined: October 3rd, 2007, 4:17 am
- Title: Dragon
- Location: The land of dragons.
Re: help with metamorphosis-type skill please
Well, when using skills like that, you get a completely different hero. So...just don't give the ability to the other hero. =P
Dragons FTW!

^ Made by Windflamedmon.



^ Made by Windflamedmon.



-
- Old Wrinkly Member
- Posts: 271
- Joined: January 12th, 2008, 4:42 am
- Title: Re-R-Re-Re-Remix
- Location: Canada EH?
Re: help with metamorphosis-type skill please
Metamorphosis doesn't give you another hero 

Contact me on WC3 Killing_Spree22, I'm at US west!
To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk
I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk
I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: help with metamorphosis-type skill please
well, you could do a trigger Just replace the hero you had with another hero wait x amount of time and change back...
Here is the triggers:
Event:
-Unit - A Unit Starts the Effect of an ability
Condition:
-Ability being cast equal to (Custom Ability name)
Action:
-Set MorphHero[1] = (casting Unit)
-Set HeroItem[1] = (item Carried by (casting unit) in slot 1)
-Set HeroItem[2] = (item Carried by (casting unit) in slot 2)
-Set HeroItem[3] = (item Carried by (casting unit) in slot 3)
-Set HeroItem[4] = (item Carried by (casting unit) in slot 4)
-Set HeroItem[5] = (item Carried by (casting unit) in slot 5)
-Set HeroItem[6] = (item Carried by (casting unit) in slot 6)
-Unit - Replace (Casting Unit) with a (Metomorphasis Unit) using the old unit's relative life and mana
-Set MorphHero[2] = (Last Created Unit)
-Hero - Give HeroItem[1] to MorphHero[2]
-Hero - Give HeroItem[2] to MorphHero[2]
-Hero - Give HeroItem[3] to MorphHero[2]
-Hero - Give HeroItem[4] to MorphHero[2]
-Hero - Give HeroItem[5] to MorphHero[2]
-Hero - Give HeroItem[6] to MorphHero[2]
-wait (duration of meto ability)
-Unit - Replace (MorphHero[2]) with a (MorphHero[1]) using the old unit's relative life and mana
-Hero - Give HeroItem[1] to MorphHero[1]
-Hero - Give HeroItem[2] to MorphHero[1]
-Hero - Give HeroItem[3] to MorphHero[1]
-Hero - Give HeroItem[4] to MorphHero[1]
-Hero - Give HeroItem[5] to MorphHero[1]
-Hero - Give HeroItem[6] to MorphHero[1]
Its Temperary i just thought of it, somone can just base a better version off mine if they want..
Here is the triggers:
Event:
-Unit - A Unit Starts the Effect of an ability
Condition:
-Ability being cast equal to (Custom Ability name)
Action:
-Set MorphHero[1] = (casting Unit)
-Set HeroItem[1] = (item Carried by (casting unit) in slot 1)
-Set HeroItem[2] = (item Carried by (casting unit) in slot 2)
-Set HeroItem[3] = (item Carried by (casting unit) in slot 3)
-Set HeroItem[4] = (item Carried by (casting unit) in slot 4)
-Set HeroItem[5] = (item Carried by (casting unit) in slot 5)
-Set HeroItem[6] = (item Carried by (casting unit) in slot 6)
-Unit - Replace (Casting Unit) with a (Metomorphasis Unit) using the old unit's relative life and mana
-Set MorphHero[2] = (Last Created Unit)
-Hero - Give HeroItem[1] to MorphHero[2]
-Hero - Give HeroItem[2] to MorphHero[2]
-Hero - Give HeroItem[3] to MorphHero[2]
-Hero - Give HeroItem[4] to MorphHero[2]
-Hero - Give HeroItem[5] to MorphHero[2]
-Hero - Give HeroItem[6] to MorphHero[2]
-wait (duration of meto ability)
-Unit - Replace (MorphHero[2]) with a (MorphHero[1]) using the old unit's relative life and mana
-Hero - Give HeroItem[1] to MorphHero[1]
-Hero - Give HeroItem[2] to MorphHero[1]
-Hero - Give HeroItem[3] to MorphHero[1]
-Hero - Give HeroItem[4] to MorphHero[1]
-Hero - Give HeroItem[5] to MorphHero[1]
-Hero - Give HeroItem[6] to MorphHero[1]
Its Temperary i just thought of it, somone can just base a better version off mine if they want..
-
- Member
- Posts: 62
- Joined: October 3rd, 2007, 4:17 am
- Title: Dragon
- Location: The land of dragons.
Re: help with metamorphosis-type skill please
Really? Mine does. O-o It's not triggered either...tru_power22 wrote:Metamorphosis doesn't give you another hero
Dragons FTW!

^ Made by Windflamedmon.



^ Made by Windflamedmon.



-
- Old Wrinkly Member
- Posts: 271
- Joined: January 12th, 2008, 4:42 am
- Title: Re-R-Re-Re-Remix
- Location: Canada EH?
Re: help with metamorphosis-type skill please
I may be thinking of avatar....
Contact me on WC3 Killing_Spree22, I'm at US west!
To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk
I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk
I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
-
- Tyrannical Drama Queen
- Posts: 4445
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: help with metamorphosis-type skill please
You are. Metamorphosis transforms you into a different unit of your choosing in the ability editor in the object editor.tru_power22 wrote:I may be thinking of avatar....
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Re: help with metamorphosis-type skill please
Just use the...
Player - Disable <Your ability> for (Owner of (Triggering Unit))
Wait X.XX seconds
Player - Enable <Your ability> for (Owner of (Triggering Unit))
Player - Disable <Your ability> for (Owner of (Triggering Unit))
Wait X.XX seconds
Player - Enable <Your ability> for (Owner of (Triggering Unit))
-
- Member
- Posts: 57
- Joined: April 26th, 2007, 7:53 pm