[Fixed] Custom GUI for Metamorphosis, wrong?
I want a create other unit, which doesn't have alternate animations for Demon Hunter. Example: I want... Doom Guard transforms into Demon Hunter (Demon From)
Now I have some materials: (Please read this carefully!!)
- Blood Elf Demon Hunter (which I want to transform into Demon Hunter (Demon From) (Remember doesn't have morph animations!)
- Dummy (use Demon Hunter (NE model) with 0% red, 0% green and 0% blue)
- RegionforPositionofBloodElfDemonHunter
- RegionforPositionofDummy
I used triggers and like that:
That is all, but I have some problem: Afterwards, Demon Hunter can't become to Demon, he loses 150 manas and he is in normal from! I don't know why, or some actions wrong.
Please help me. I know someone can test in game and find that problem. Hope I get your answer as fast as you can.
I want a create other unit, which doesn't have alternate animations for Demon Hunter. Example: I want... Doom Guard transforms into Demon Hunter (Demon From)
Now I have some materials: (Please read this carefully!!)
- Blood Elf Demon Hunter (which I want to transform into Demon Hunter (Demon From) (Remember doesn't have morph animations!)
- Dummy (use Demon Hunter (NE model) with 0% red, 0% green and 0% blue)
- RegionforPositionofBloodElfDemonHunter
- RegionforPositionofDummy
I used triggers and like that:
-
GUI Metamorphosis
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Unit-type of (Casting unit)) Equal to Blood Elf Demon Hunter
- (Ability being cast) Equal to Metamorphosis
-
Actions
- Region - Center Position of RegionforPositionofBloodElfDemonHunter <gen> on (Position of (Casting unit))
- Unit - Create 1 Dummy for (Owner of Casting unit)) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees
- Region - Center Position of RegionforPositionofDummy <gen> on (Position of (Last created unit))
- Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) With 100.00% transparency
- Unit - Move (Casting unit) instantly to RegionforPositionofDummy <gen>
- Unit - Move (Last created unit) instantly to RegionforPositionofBloodElfDemonHunter <gen>
- Animation - Play (Last created unit)'s morph animation
- Wait 0.50 seconds
- Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) With 0.00% transparency
- Wait 0.40 seconds
- Unit - Remove (Last created unit) from the game
- Wait 1.20 seconds
- Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) With 0.00% transparency
-
Events
Please help me. I know someone can test in game and find that problem. Hope I get your answer as fast as you can.
Last edited: