Hi all I working on a warcraft project, and I got a trouble with the morph ability. The point is that I made a Night Elf Druid, and a Taurend Druid, they have 4 forms, bear, cat, moonkin, tree, and a cancel form to get back to original form and everything is fine in rts mod where they are normal units.
Night Elf Normal Form abilities: Cat Form, Bear Form, Moonkin Form, Tree Form, (different from tauren forms)
All other forms abiltie has the same Cancel Form ability. (different from tauren forms)
Tauren DRuid Normal Form abilities: Cat Form, Bear Form, Moonkin Form, Tree Form, (different from night elf forms)
All other forms abilities has the same Cancel Form ability (different from night elf forms)
So I made a hero version of them for hero mods, and with Tauren Druid everything is fine with his all forms, but Night Elf Druid Cancel form(that takes him back to normal form) is bugged, because when he come back from cat form, his actor not showing, in other forms it's work fine, I modifiy only change their name to give a hero after their names,
Any one find this bug? It doesn't matter if I copy it or rename it after changing things it can occure randomly and I didn't find the reason in the data editor or xml. I think it is in source code. I checked the ability it self it is the same as a working one jut a unit changed, and the bugged hero's actor work fine if he used by himself, with every abilities except hero cat form.
I would recommend posting the map in this case. It sounds like on of those "see it first hand to solve" sort of problems.
Make sure that all your references with the actor create and destroy events are correct. Make sure all the abilities on the heroes are correct. It is very easy that a single wrong link (not using the hero form of the ability) could cause the problems described. Do not assume that your heroes have the right abilities or that your actors are linked to the right ones as with the number of similar events and abilities involved making a mistake is super easy and often overlooked.
Not yet. I use less then 20 abilites yet. but I need 3*9 and more :D, whatever this is another problem, fortunately the 9 is alternative of each other so I can remove the don't needed ones from game so it won't be a problem.
I think I looked all of the things that can be mistaken, but I will look again later, now I have a solution based on triggers, that make the a same thing that actor did if its work,
event: unit use an ability(night elf druid hero cancel form) effect (finish)
action: creat actor(Night Elf Druid Hero) for unit(triggering unit)
Remove the Unit.Birth and Unit.Revive values. It is neccessary because if dont the unit actor will duplicate if created with triggers, train, or creat abilities.
Hi all I working on a warcraft project, and I got a trouble with the morph ability. The point is that I made a Night Elf Druid, and a Taurend Druid, they have 4 forms, bear, cat, moonkin, tree, and a cancel form to get back to original form and everything is fine in rts mod where they are normal units.
Night Elf Normal Form abilities: Cat Form, Bear Form, Moonkin Form, Tree Form, (different from tauren forms)
All other forms abiltie has the same Cancel Form ability. (different from tauren forms)
Tauren DRuid Normal Form abilities: Cat Form, Bear Form, Moonkin Form, Tree Form, (different from night elf forms)
All other forms abilities has the same Cancel Form ability (different from night elf forms)
So I made a hero version of them for hero mods, and with Tauren Druid everything is fine with his all forms, but Night Elf Druid Cancel form(that takes him back to normal form) is bugged, because when he come back from cat form, his actor not showing, in other forms it's work fine, I modifiy only change their name to give a hero after their names,
actors:
Working as RTS:
Night Elf Druid:
<On index="68" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidCatForm; MorphFrom NightElfDruid" Send="Destroy"/>
<On index="69" Terms="AbilMorph.*.Finish; MorphTo NightElfDruid; MorphFrom NightElfDruidCatForm" Send="Create"/>
<On index="70" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidBearForm; MorphFrom NightElfDruid" Send="Destroy"/>
<On index="71" Terms="AbilMorph.*.Finish; MorphTo NightElfDruid; MorphFrom NightElfDruidBearForm" Send="Create"/>
<On index="72" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidMoonkinForm; MorphFrom NightElfDruid" Send="Destroy"/>
<On index="73" Terms="AbilMorph.*.Finish; MorphTo NightElfDruid; MorphFrom NightElfDruidMoonkinForm" Send="Create"/>
<On index="74" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidTreeForm; MorphFrom NightElfDruid" Send="Destroy"/>
<On index="75" Terms="AbilMorph.*.Finish; MorphTo NightElfDruid; MorphFrom NightElfDruidTreeForm" Send="Create"/>
Night Elf Druid Cat Form:
<On index="65" Terms="AbilMorph.*.Finish; MorphTo NightElfDruid; MorphFrom NightElfDruidCatForm" Send="Destroy"/>
<On index="66" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidCatForm; MorphFrom NightElfDruid" Send="Create"/>
bugged as hero:
Night Elf Druid Hero:
<On index="68" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHeroCatForm; MorphFrom NightElfDruidHero" Send="Destroy"/>
<On index="69" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHero; MorphFrom TaurenDruidHeroCatForm" Send="Create"/>
<On index="70" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHeroBearForm; MorphFrom NightElfDruidHero" Send="Destroy"/>
<On index="71" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHero; MorphFrom NightElfDruidHeroBearForm" Send="Create"/>
<On index="72" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHeroMoonkinForm; MorphFrom NightElfDruidHero" Send="Destroy"/>
<On index="73" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHero; MorphFrom NightElfDruidHeroMoonkinForm" Send="Create"/>
<On index="74" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHeroTreeForm; MorphFrom NightElfDruidHero" Send="Destroy"/>
<On index="75" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHero; MorphFrom NightElfDruidHeroTreeForm" Send="Create"/>
Night Elf Hero Cat Form:
<On index="65" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHero; MorphFrom NightElfDruidHeroCatForm" Send="Destroy"/>
<On index="66" Terms="AbilMorph.*.Finish; MorphTo NightElfDruidHeroCatForm; MorphFrom NightElfDruidHero" Send="Create"/>
Any one find this bug? It doesn't matter if I copy it or rename it after changing things it can occure randomly and I didn't find the reason in the data editor or xml. I think it is in source code. I checked the ability it self it is the same as a working one jut a unit changed, and the bugged hero's actor work fine if he used by himself, with every abilities except hero cat form.
do you hit the maximum of 32 abilities on all forms together?
I would recommend posting the map in this case. It sounds like on of those "see it first hand to solve" sort of problems.
Make sure that all your references with the actor create and destroy events are correct. Make sure all the abilities on the heroes are correct. It is very easy that a single wrong link (not using the hero form of the ability) could cause the problems described. Do not assume that your heroes have the right abilities or that your actors are linked to the right ones as with the number of similar events and abilities involved making a mistake is super easy and often overlooked.
Considered using a Build ability instead?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@FunkyUserName: Go
Not yet. I use less then 20 abilites yet. but I need 3*9 and more :D, whatever this is another problem, fortunately the 9 is alternative of each other so I can remove the don't needed ones from game so it won't be a problem.
@ImperialGood: Go
I think I looked all of the things that can be mistaken, but I will look again later, now I have a solution based on triggers, that make the a same thing that actor did if its work,
event: unit use an ability(night elf druid hero cancel form) effect (finish)
action: creat actor(Night Elf Druid Hero) for unit(triggering unit)
@DrSuperEvil: Go
Intresting idea I will look it up.
Thank to all for helping :).
Triggered solution changed to a data solution based on behavior in Night Elf Druid Normal Form actor:
<On Terms="Behavior.NormalForm.Create" Send="Create"/>
<On Terms="Behavior.NormalForm.Destroy" Send="Destroy"/>
Remove the Unit.Birth and Unit.Revive values. It is neccessary because if dont the unit actor will duplicate if created with triggers, train, or creat abilities.