Master
Joined: 11-February 06
From: In a cold place.
Title says it all. I want to learn how to mod so I'v taken on a rather ambitious idea. Anyway, my question regarding AI.
What I want to do is make certain NPCs attack creatures on sight, similar to what a guard does when one of those annoying Cliffracers follows you into town. The only problem is, I have no idea what to do.
According to the help file of the Construction set, an NPC attacks creatures automatically if they're of the class 'guard'. Except, my NPCs are best described as mercenaries so I don't want them to arrest the player like a guard would for all sorts of crimes.
Does anyone know what makes a guard attack creatures? Any help would be very appreciated.
--------------------
Fabulous hairneedle attack! I'm gonna be bald before I hit twenty.
Master
Joined: 11-February 06
From: In a cold place.
I already checked the scripts but I couldn't find anything that was specifically aimed at all the guards. I'll check again.
I haven't seen the buttons evil and special combat so I don't know what they do either. Hmm, I'll try out a few things. I've got this lovely shack placed in Seyda Neen. (Home of Ro-El the Wacky ) I think I can put my mercenary NPC in it together with a rat.
--------------------
Fabulous hairneedle attack! I'm gonna be bald before I hit twenty.