• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help with wandr ability

Status
Not open for further replies.
Level 2
Joined
Apr 14, 2012
Messages
17
I would like to change the wander ability so that it only works whilst the unit is out of combat. It is quite annoying when the unit suddenly walks off when you are fighting it and I wondered if there is any way to overcome this problem?
Any help would be appreciated.
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
U cant change that ability like that but I think u can do like this:
+When the unit is in combat, remove the wander ability from it.
+When the unit is out of combat, add the wander ability to it.
Of course u must create a combat system for this (this is really complicated).
 
Level 2
Joined
Apr 14, 2012
Messages
17
Mmm I did attempt something similar to that for one thing I couldn't find a action l "when unit is in combat" I tried to get around that but the problem was that I wanted it it to apply to more than 1 unit so that kinda mucked up my trigger as well.
 
Level 2
Joined
Apr 14, 2012
Messages
17
Oh I forgot to mention my character douse not have a auto attack and only fights through powers. Just in case that's a problem though id tell you.
 
Status
Not open for further replies.
Top