• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Disable unit reaction

Status
Not open for further replies.
Level 2
Joined
Jul 9, 2012
Messages
9
So guys.. i have a problem with my map. When an unit is being attacked, it moves uncontrollably.. :ogre_rage:
Currently im using my arrow key movement system, and to prevent movement using mouse i made a trigger, which i attach in the bottom of this post.

And yeah, all my heros have their attacks disabled.
Is there any way to prevent units to react when they get hit?
Or i should find another way to prevent mouse usage?
Please reply ASAP , thx:thumbs_up:
 

Attachments

  • Trigger.jpg
    Trigger.jpg
    23.8 KB · Views: 103
Object Editor -> Units Tab -> Select Unit -> Stats - Can Flee: False
I'm assuming your unit can't attack normally, right ?
This is why it will flee if he can't fight back.

Usually this mechanics will be applied to Workers since they are not created to fight, but to serve and building up nations.
If the unit flee, it will save its life and can live for another day.
 
Status
Not open for further replies.
Back
Top