Warcraft III resources & community, 2003–2006 · archived

spell request

8 posts
#1

spell request

i need a spell that when this targets an enemy, it will temporarily change you into the enemy that you destroyed.
#2
1) Replace the casting unit with the unit-type of the target unit.
2) Wait X seconds.
3) Replace the casting unit with its original unit-type.

~The_Raven
#3
you can make it because? im most likely to screw it up.
#4
when you say this do you man that its trigger that are being used?
#5
hey o would i be able to make it so that i can set the trigger with a specific ability instead of just-
-unit begins to cast a spell.
plus how would i be able to make it so that it can be vairios guys like changing into the unit he is targeting?
#6
ok



events
unit - begins casting an ability

conditions
ability being cast equal to xxx

actions
Replace the casting unit with the unit-type of the target unit.
Wait X seconds.
Replace the casting unit with its original unit-type.

#7
thnks! but how can i make it so that it only works if the unit is killed with this ability. in other words i want this ability to be an attack that contains those triggers only if the unit was killed after using the attack. oh yeah and it worked all up until the part when he transforms back.
#8
Detect when a unit dies. If the killing unit has the ability, then do the above actions.

~The_Raven