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

[General] A unit is attacked and moves back and attacks?

Status
Not open for further replies.
Level 5
Joined
Apr 13, 2018
Messages
124
Hi! I want to make like if a unit is attacked, it will move back and attack again and again.

+REP

another question, how to make a units corpse that does not decay?
 
Level 13
Joined
Mar 29, 2012
Messages
542
Which way are you trying to achieve this?
1. Move the unit back while maintaining the facing angle towards the target?
You will need trigger that fires periodically if you want the movement to be 'smooth and realistic', or you can just move it with a single action some distance away backwards.
2. Move the unit back just like normal move order backwards?

How to make a units corpse that does not decay?
You can do this from Object Editor.
 
Status
Not open for further replies.
Top