Hey there, I have a problem, i'm trying to get a 'Computer Hero' to cast a spell such as death coil.
At 1st i thought it was because i was using a trigger to attack move my spawn units.
I tried simply putting one Death Night(Computer Enemy) and One Demon Hunter(My Unit) in the top right corner of the map to test it.
The code i am using (GUI):
Events
Unit - Death Knight 0004 <gen> Is attacked
Actions
Unit - Order Death Knight 0004 <gen> to Undead Death Knight - Death Coil (Triggering unit)
People have said this should work, it has not.
Is there something i am missing, like maybe having the death knight learn death coil? Or should the Death Knight be learning it by himself.
Note: The Death Knight is not generated from a spawn, He's already made.
Also, if i have a spawn generated hero, how do i do multiple triggers to have them cast spells as well as attack move. Any help is much appreciated!
PS: I also tried putting this code in Map Initialization:
Events
Map initialization
Unit - A unit owned by (Owner of Death Knight 0004 <gen>) Learns a skill
Actions
Unit - Set level of Death Coil for Death Knight 0004 <gen> to 1
This doesn't seem to do anything? What am i doing wrong?!
At 1st i thought it was because i was using a trigger to attack move my spawn units.
I tried simply putting one Death Night(Computer Enemy) and One Demon Hunter(My Unit) in the top right corner of the map to test it.
The code i am using (GUI):
Events
Unit - Death Knight 0004 <gen> Is attacked
Actions
Unit - Order Death Knight 0004 <gen> to Undead Death Knight - Death Coil (Triggering unit)
People have said this should work, it has not.
Is there something i am missing, like maybe having the death knight learn death coil? Or should the Death Knight be learning it by himself.
Note: The Death Knight is not generated from a spawn, He's already made.
Also, if i have a spawn generated hero, how do i do multiple triggers to have them cast spells as well as attack move. Any help is much appreciated!
PS: I also tried putting this code in Map Initialization:
Events
Map initialization
Unit - A unit owned by (Owner of Death Knight 0004 <gen>) Learns a skill
Actions
Unit - Set level of Death Coil for Death Knight 0004 <gen> to 1
This doesn't seem to do anything? What am i doing wrong?!
Last edited: