HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making Picked unit use ability

11-16-2004, 05:19 AM#1
abraxas
I have made a trigger which will add an ability to nearby units when a hero uses an ability.
But how do i trigger so the picked units (the nearby units) so they activate the ability (its wind walk)???


Also, what event starts when you die with Reincarnation?
I want it to spawn taurens (i have made that) but the event doesnt seem to activate, anyone know which one it is?
11-16-2004, 02:56 PM#2
AFB-DieHard
1. Issue order with no target for picked units(Orc Blademaster - Windwalk)
2. I've read something on the forums, try using the search button at the top of the window.
11-16-2004, 07:59 PM#3
Guest
2. You could use this code:

Code:
Events:
A unit dies

Conditions:
Integer - Level of Reincarnation for triggering unit equal to 1 (also works with non-hero abilities)
Integer - Custom value of triggering unit equal to 0

Actions:
Set custom value of triggering unit to 1
Put your actions here
Game Time wait x seconds (x=cooldown time of your reincarnation spell)
Set custom value of triggering unit to 0


The only problem is just the cooldown.
EDIT: Found a way. Look in the code
2nd EDIT: AFB-DieHard told me a unit don't dies when it uses reincarnation (tested it afterwards lol) so I guess the code is useless.
11-16-2004, 08:08 PM#4
AFB-DieHard
Is A unit dies triggered when reincarnation is used?
11-16-2004, 08:14 PM#5
Guest
Hm guess your right