View Single Post
Old 02-06-2007, 02:42 PM   #17
stoffe
Network Caretaker
 
stoffe's Avatar
 
Status: Administrator
Join Date: Apr 2002
Posts: 5,833
Helpful! 10 year veteran! Notable contributor 
Quote:
Originally Posted by Miltiades
Okay, great, it works. Funny thing, though, is that they attack one round, and then stop. What's the problem?
Are you attacking the enemies, or just standing cheering on the sidelines? I got the impression you only wanted the NPCs to attack enemies when the player was in combat, so there are a bunch of checks that try to block out the combat AI when there are enemies but the player is not fighting.

If you are fighting as well there could be other errors in the OnCombatRound script. Hard to spot all the mistakes you make when writing code in the tiny text area on these forums.
stoffe is offline   you may: quote & reply,