HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Polymorphed units able to attack

04-21-2010, 01:27 AM#1
[VDM]Amn
hi, im trying to temporaly polymorph allied units, but every base ability i test prevents attacking. Anyone knows a walk around?

thank u :D
04-21-2010, 04:23 AM#2
TheKid
But polymorph does disable attacks?
04-21-2010, 07:17 PM#3
[VDM]Amn
Quote:
Originally Posted by TheKid
But polymorph does disable attacks?
yeap. the attack ability appears grey(disabled).


i tried AOhx(hex), Aply(polymorph) and one of those Chaos abilities too (Sca1)
last one gave me error when i changed its duration
04-21-2010, 09:54 PM#4
Michael Peppers
Uhm... Metamorphosis? Crow Form? Robo Goblin? You could add one of those and make it use to the unit immediately, then remove it... Crow Form isn't a temporary transformation, but it's probably the only one that doesn't cause all the weird stuff both Metamorphosis and Robo Goblin do.
04-21-2010, 10:33 PM#5
TheKid
Bear Form is similar to Crow Form.

So, what exactly are you trying to do here? From the sound of it you just want to make the unit look like a critter while still being able to attack (which in my opinion is a little unnatural, but I'll trust you have good reason), is this accurate?
04-21-2010, 10:39 PM#6
Michael Peppers
Another thing you could try is setting the alpha value of the unit's model to make it invisible (the value should be 0 iirc) and then attach a critter model to its origin point.

(Yes, the attached model will display all of its animations properly, I don't know if it will be shown at all with 0 alpha, though)
04-21-2010, 11:25 PM#7
[VDM]Amn
Quote:
Originally Posted by Michael Peppers
Uhm... Metamorphosis? Crow Form? Robo Goblin?

those abilities need Normal Form Unit and Alternate Unit values
and i wanted my spell to affect any unit type, so if i use Robo-G/Met/CrowF i'd need to make an ability for every unit type on the map, and that's not right



maybe i could hide the unit, put a new one and kill the hidden unit if the created unit dies.
and all triggers would be happy
04-21-2010, 11:35 PM#8
DioD
you cant.
04-21-2010, 11:53 PM#9
[VDM]Amn
Quote:
Originally Posted by TheKid
Bear Form is similar to Crow Form.

So, what exactly are you trying to do here? From the sound of it you just want to make the unit look like a critter while still being able to attack (which in my opinion is a little unnatural, but I'll trust you have good reason), is this accurate?

hahaaha, i have this hero that i want him to cast a spell that transforms nearby allied heros into something with life steal attack (and another model) for 10 seconds ...
04-22-2010, 01:38 AM#10
[VDM]Amn
to simplify, lets say we need an item that transforms you into a Crow for 10 seconds.
any unit that has inventory can use this item, and the Crow can attack

any ideas?
04-22-2010, 05:46 AM#11
TheKid
You would want to use Chaos, but that won't work so peachy on heroes.
04-22-2010, 10:44 AM#12
Anitarf
You are probably better of swapping the units with triggers: hide the targeted hero, create a crow (or whatever) unit in its place, set the crow's life and mana accordingly and when the spell expires, hide the crow, unhide the hero and again set life and mana percentages of the hero to those of the crow. You may also need to consider the special cases of the crow dying, or the spell being recast on a hero while he is still a crow.

Also, experience and items might be a problem if you want them to transfer between he hero and the crow unit and back.
04-22-2010, 11:18 AM#13
cosmicat
May also wish to consider consumables with permanent effects, e.g. hp and stat tomes.
04-22-2010, 01:25 PM#14
DioD
items with morphing cause control loss...
04-22-2010, 08:21 PM#15
[VDM]Amn
Quote:
Originally Posted by Anitarf
You are probably better of swapping the units with triggers: hide the targeted hero, create a crow (or whatever) unit in its place, set the crow's life and mana accordingly and when the spell expires, hide the crow, unhide the hero and again set life and mana percentages of the hero to those of the crow. You may also need to consider the special cases of the crow dying, or the spell being recast on a hero while he is still a crow.

Also, experience and items might be a problem if you want them to transfer between he hero and the crow unit and back.
that sounds great
i was trying to find that campaign map where vol'jin transforms rexxar into a bird thing
but surely it is just replaced

i'll do that, if crow dies, the real unit unhides and dies by trigger.