Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why do NPCs attacking eachother (Seemingly randomly) run away from each other?
Author Message
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #1
Why do NPCs attacking eachother (Seemingly randomly) run away from each other?
I'm working on my "realistic guards" script, and I'm having trouble getting the AI to act correctly, for some reason (and only with certain NPCs) they will attempt to attack each other, and retreat.

I thought it was something as simple as they detected the stats of the target and run, but that doesn't explain why I can code a guard with 1/1/1 stats to attack a Wyrm, and he does so.

I also noted that it seems to have to do with the type of NPC, for example, I can't get 2 skeletons to fight either.

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
08-01-2012 09:58 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Why do NPCs attacking eachother (Seemingly randomly) run away from each other? - Rayvolution - 08-01-2012 09:58 AM

Forum Jump:


User(s) browsing this thread: 9 Guest(s)