Hello,
I'm pretty new to NWN Module making and the scripting in general (better late than never, right?). I currently have a bunch of NPCs bumbling around on random walk patterns, which is nice. But I'd like to be able to block them off from certain areas. For example I have a character inside a building, and I wish to make sure he doesn't walk through a certain doorway (but allow players to walk through this doorway).
What's the best way of blocking the NPC? Is there an easy script I can attach to the onEnter of a trigger that will make him stop moving without disrupting his ability to continue randomly walking around the room?
Cheers.





Retour en haut







