| Author | Sticky: Post Working Scripts Here |
| Northernshadows | Posted: Wednesday, 03 July 09:02PM |
| Hello, its another NWN scripting newbie
here... here's the first script I'm really satisfied with, and that might
prove useful to someone else. The issue of scripting sitting people has been almost done to death I guess, but here's one more of those: a mass-sitting sript. This is for one of those areas where you mostly need static people, sitting and staring into their drinks. A way-inn where players spend only a short time, for example. This is placed into area's OnEnter. No need to create custom OnSpawns for each NPC just to have them sit down. Just insert the tags of NPCs and chairs into string 'SitString', separate with commas, and let the magic happen. Look at the example to see how its done. The chairs, naturally, need the generic scrip that allows them to be sat upon. I've included it at the bottom just in case.
|
|