• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Any NPC AI system?

Status
Not open for further replies.
Level 30
Joined
Feb 18, 2014
Messages
3,636
- run back to their spawn position after they either kill a player or they can't keep up with his speed/he disappears/they move too far from their spawn postion.
Isn't that what computer units do already? Otherwise, you could use a combat check system to detect when a unit is attacked and then start a timer. After the timer expires order the attacked unit to move back to its guard position.
- run away when on low health
There is an option in the AI Editor that lets you do that.
- call nearby NPCs for help
You will need a trigger that picks all units near the NPC and order them to attack.
 
Status
Not open for further replies.
Top