HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

IMPORTANT NEW FIND! Replace Unit and NOT LOSE BUFFS

07-11-2003, 09:20 AM#1
RodOfNOD
Thanks to the new TFT we have to rethink the ways we have done some. In this case I needed to replace a unit but I didnt want to lose any buffs or the quick key that a player might use.

This has plagued me for months... No longer...

Add Ability To Unit + Any CHAOS spell = solution...

Make a trigger to turn the unit into the other unit....

All you have to do is pick any chaos spell (under ORC Unit) and make it with the unit u want to change into, no original unit is required.

Then use Add (Newly Created Ability In WE) To Unit.

That unit will retain its hps, mana, AND its BUFFS!!!!!!

Its instant and its clean. For my use i wanted to allow for a unit to have 6 shots, like in a pistol.. There are various ways to do this now. One way is to take ur unit and detect every attack he does.. and keep it in an internal variable (OR use MANA so the user can see it).. When it gets to 0 you morph the unit into a unit same stats but NO Attack... After time or they return to reload you morph them back!

The Add Ability To Unit has allowed me to do MANY things that I couldnt do before. Some of them I had forgotten I had to come up with much worse solutions for.. So Please list any that you may have found!

Good Luck! Any feed back would be welcome!
07-11-2003, 12:38 PM#2
DaKaN
nice find Rod
07-11-2003, 01:17 PM#3
NavARXIDA
NICE!
07-11-2003, 01:47 PM#4
Ultramagnetic
clever, I like it.
07-11-2003, 07:02 PM#5
FyreDaug
Radical! :P good find.
07-11-2003, 08:37 PM#6
Guest
That would be very helpful, thanks.
07-12-2003, 08:40 AM#7
RodOfNOD
bump!
07-12-2003, 08:41 AM#8
Smokenham
lol man bumping is pretty sad
07-13-2003, 07:39 AM#9
RodOfNOD
People who have nothing good to say are even sadder :>

Try contributing something to the effort next time.
07-13-2003, 07:55 AM#10
Venim_Iceblade
Nice find rod. your like the only guy on #wc3campaigns who talks about modding wc3 =/
07-13-2003, 01:34 PM#11
weaaddar
not true,
Darky and I have intresting chats in PMs but the general chat is ussually crazy.