HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Combining Units Help

11-12-2002, 09:49 AM#1
Jitb
Hi, I have a few questions. :)

Here is what I want to do:
Make several neutral passive creatures (ie. riderless horse, riderless kodo beast) wander around the map. When a player clicks on one of these units with the proper unit of thier own, it will create a new unit that will belong to the player (ie. a player owned grunt clicks on a neutral passive riderless kodo beast, combining the two into a kodo beast that belongs to the player.) This will in effect create a "third resource", which hopefully will improve the gameplay of Warcraft 3 :).

Any help is greatly appreciated and any triggers will be given full credit ^^.
11-12-2002, 11:27 AM#2
BlacKDicK
Here is a small sample. It will take a footman + horse = Kinght. Of course you can improve it. For an example, you can set the life of the Knight to be the same percent of the life of the footman (Hey, if the rider is wounded i guess it would be nice if the new unit also started wounded).
11-12-2002, 11:30 AM#3
Insaniteus
Ok, this is how I would do it. It is far better than the select function.

Event - A unit owned by neutral passive is attacked
Conditions - Unit type of attacking unit equal to Grunt
----------------unit type of attacked unit equal to Kodo Beast
Actions - Create Special effect on Kodo Beast using Abilities\spells\Undead\Deathpact\Deathpacttarget.mdl (For effects)
-----------wait .5 seconds
-----------Remove Kodo Beast
-----------Replace Grunt with Grunt Riding Kodo Beast

This should work perfectly for that transformation, and all you have to do is make similar triggers for every transformation you need.

-The Great and Immortal Lord Imperialist Insaniteus-
------------------------------If you stare real hard, you can almost see a real kid in the Child Model...wait, nevermind that's just the Acid.
11-12-2002, 06:18 PM#4
Jitb
Thanks, works great :D
11-12-2002, 09:46 PM#5
Kerry
Just remember to destroy the special effect otherwise it will steal memory that u can use on better things :))