Lol, I spent a lot of time doing it the trigger way, everything is working fine
Hide unit / create polymorph unit, select this newly created unit if the player was selecting the polymorph target / wander / and breaking on damage and transfering the damage taken by the polymorph unit to the target of the polymorph spell.
But then I figured out that all references to that old unit is lost T_T
Like, if someone was casting a channeling spell at a unit, and then you polymorph that same unit, the channeling spell will break because the true target unit is now Hidden.
Guess I'll have to do it by the data editor way eh... :\
Btw, is there a way to transfer all abilities/variables referencing from a unit to another?
haha yea, i'm much more comfortable with trigger editor. There is just a lot of new concepts you need to learn to master the data editor.
And I said it's a lot of work because there is like 50 or more different units in my map that can be affected by polymorph, so, i'll have to change the Actor Events in all of them \=
Ty but, a hidden unit cannot be selected.
And like in WoW polymorph, I want the spell to break if the target unit takes damage, so the unit really must be selectable while in polymorph.
@ezbeats: Go
Hey bro, i' didn't understand really well about the 2nd part. Like:
"behavior->polymorphcustombuffname->on->destroy"
"behavior->polymorphcustombuffname->off->create"
Thi part is ok... but
_______________
then make a new actor of a unit type and make it model whatever you want ( a sheep, frog, etc...) and under the events + field;
"behavior->polymorphcustombuffname->on->create"
"behavior->polymorphcustombuffname->off->destroy"
_______________
What link does it have with the polymorphed unit?
I mean, if I put this on the new "polymorph unit actor", wont it just create if the polymorph unit receives the buff?
@Aztron: Go
Lol, I spent a lot of time doing it the trigger way, everything is working fine Hide unit / create polymorph unit, select this newly created unit if the player was selecting the polymorph target / wander / and breaking on damage and transfering the damage taken by the polymorph unit to the target of the polymorph spell.
But then I figured out that all references to that old unit is lost T_T Like, if someone was casting a channeling spell at a unit, and then you polymorph that same unit, the channeling spell will break because the true target unit is now Hidden.
Guess I'll have to do it by the data editor way eh... :\ Btw, is there a way to transfer all abilities/variables referencing from a unit to another?
@ezbeats: Go
haha yea, i'm much more comfortable with trigger editor. There is just a lot of new concepts you need to learn to master the data editor. And I said it's a lot of work because there is like 50 or more different units in my map that can be affected by polymorph, so, i'll have to change the Actor Events in all of them \=
@ezbeats: Go
That's a lot of work to do, but I believe it works the way I want Ty :)
@Isthereanopenname: Go
Ty but, a hidden unit cannot be selected. And like in WoW polymorph, I want the spell to break if the target unit takes damage, so the unit really must be selectable while in polymorph.
Is there a way to just change the unit's actor?
Anyone know how to do it?