• 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.

Hex Based Spell

Status
Not open for further replies.
Level 8
Joined
Dec 29, 2006
Messages
359
I made a spell based off of Hex named mutate, and it transforms the unit into a harmless critter, just like hex, but there is a small chance that the unit will be transformed into a very strong monster by accident. So, i just added a bunch of critters and then a strong neutral hostile unit to the morph units lists in the object editor. Problem is, no matter what they are transformed into (even a big strong creep) they never retaliate when attacked, they always flee. How can i make it so the weak critter transformations will flee, but when transformed into a strong enemy, they will fight back?

EDIT: I also noticed an issue in which the transformed unit continues to flee, even after the Mutate effect has faded, anyone know how to fix that?
 
Level 17
Joined
Apr 13, 2008
Messages
1,608
Nice spell idea and good question :S
If you based your creep on a neutral hostile unit then its
Stats - Can Flee field is most probably set to true
1.) Try set that field in the object editor to false
if it's still not working as you want then
2.) Make a trigger to set the transformed creature's can flee field to false.
 
Status
Not open for further replies.
Top