Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Clone type spell
Clone type spell
09-21-2003, 04:28 AM
#1
kl33r
Is there a way to create a spell that creates an exact double of the Hero using it
The double must also retain all stats etc..
The double also, if possible have no ablities/spells
Any way?
09-21-2003, 04:41 AM
#2
Sage the Mage
You mean mirror image?
09-21-2003, 04:45 AM
#3
35263526
Make a dummy spell that doesn't target anything (I'd base it off War Stomp). Then, use triggers to detect if someone casts the spell, and make a duplicate of the caster.
09-21-2003, 05:10 AM
#4
Dragon
I would do what he said but base it off of Mirror Image (the effect looks cool :D)
09-21-2003, 05:35 AM
#5
kl33r
Yeah but what is the trigger to create a duplicate of it?
09-21-2003, 05:39 AM
#6
SpectreReturns
Itd be real hard. Have to create a unit of type of targeted unit, then set last created units stats to those of targed unit....
TOOO much work! Just use the clone spell.
09-21-2003, 05:46 AM
#7
kl33r
I need the double to be able to attack and do damage.. that's why i can't use Mirror Image
09-21-2003, 05:54 AM
#8
jardragon901
err mirror image can be set to do damage my man.
09-21-2003, 05:57 AM
#9
kl33r
The field, Damage dealt % can be set to a max of 1, and even when its set to 1 there is no damage at all
09-21-2003, 11:42 AM
#10
kl33r
Nevermind, I found a way to create an
exact
clone of the hero, minus the spells... just what i wanted :ggani: