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

Salamander, included or not?

Status
Not open for further replies.
Level 17
Joined
Jan 21, 2010
Messages
2,111
hi all, i have a slight problem, the salamanders in my map won't attack the attacker, they always run away like a chicken, so i've want to ask your opinion, shoud it removed, or not?
salamander in my map is a hostile unit, it usualy camp alone in a cave, it droppes some item, such as salamander's skin, and salamander's scale, they both used for material in alchemist's potions
 
Level 21
Joined
Aug 13, 2011
Messages
739
You must have edited it from a critter. To keep it from running away, you can either remove the Wander ability or change (in the Unit Editor) 'Stats-Can Flee: True' to False. This looks like an old topic though :ogre_icwydt:
 
Level 21
Joined
Aug 13, 2011
Messages
739
Oh, then Wander is your problem. It's better to use triggers to make hostile units move once in a while, and you can use the 'Attack-Move To' order to make them attack nearby enemies while they're moving to a specified point.
 
Level 7
Joined
Jul 24, 2008
Messages
294
The Wander ability or unit changed (in the Unit Editor) 'Stats-Can Flee: True' to False.

The wander ability is you're problem, whenever a unit is attacked with this ability they will not attack back. You could use the trigger idea stated above (which shouldn't lag too much)
 
Status
Not open for further replies.
Top