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
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #4
RE: Why do NPCs attacking eachother (Seemingly randomly) run away from each other?
long time ago, nazghull put some tags in the source code, so that npc will help or attack each other, if they have this tags.
but it was only a testing nightly build from him and I think it was never implented.
Maybe this thinks will be very helpfull for this script if it will implented ...
and maybe it can be coded a little bit more for example
there will be an event that name is hardcoded like
e_brain_undead but you can softcode it in some way like
if (<hitpoints> < 10)
RETURN 1 --> it will stop the hardcoded running away modus (something like that, donĀ“t know the code for it)
08-01-2012 08:13 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why do NPCs attacking eachother (Seemingly randomly) run away from each other? - admin phoenix - 08-01-2012 08:13 PM

Forum Jump:


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