07-21-2002, 08:03 AM | #1 |
Legion Symbol
Join Date: May 29, 2002
Location: Somewhere in between
Age: 39
Posts: 7,029
|
Er, I made a "small" test modual, sort of, something to occupy me... only its grown, I started to add factions; now I've done that, and made all the little NPCs, guards etc. and added the enemies. NOw the only problem is... I cant make my Gaurds work as a group! ARGH! its sooo frustrating! the clerics run off to "do battle" whilst my rangers stand and shoot! The clerics get killed! because they *can't*/*won't* heal each other! How do I make them funtion as a team? please its driving me up the wall! *sigh*
Oh yeah, can any of you provide me with a "tavern" script? or something similar, I cant make my "civilians" move, or do much. I've only been playing with the scripting for a couple of days now, and I would *really* like to make my "little world" more realistic... thanks.
__________________
Skydracgrrl: Cruelty, thy name is Cal! --- There are none so blind as those who refuse to see, none so deaf as those who refuse to hear, and none so smelly as those who refuse to bathe. |
07-21-2002, 01:48 PM | #2 |
Zartan
Join Date: July 18, 2001
Location: America, On The Beautiful Earth
Age: 50
Posts: 5,373
|
the NPC default on-spawn script include some commented out ambient animations that will make npc's of the same faction interact socially. uncomment the line :
//SetSpawnInCondition(NW_FLAG_AMBIENT_ANIMATIONS); or if you want them to stay immobile: //SetSpawnInCondition(NW_FLAG_IMMOBILE_ANIMATIONS); This wont creat "tavern Talk" per se, but you can add: ActionSpeakString("place your speech here"); ActionWait (how long to wait before repeating ie 2.5) I dont know how to do both of these at once, for example I can make my acoyltes bend in prayer using a animation script via the OnSpawn, but the chant text wont appear if the script is placed in the On Heartbeat. I want them to bend in prayer and chant over and over again, but being new at scritping the answer here is beyond me.... Check out the official bioware scripting forum for a detailed faq and tutorial, which is where i got this info from. ( I am a month old scripter myself)
__________________
Support Local Music and Record Stores! Got Liberty? |
07-22-2002, 07:28 AM | #3 |
Legion Symbol
Join Date: May 29, 2002
Location: Somewhere in between
Age: 39
Posts: 7,029
|
cheers.
__________________
Skydracgrrl: Cruelty, thy name is Cal! --- There are none so blind as those who refuse to see, none so deaf as those who refuse to hear, and none so smelly as those who refuse to bathe. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scripting Help | robertthebard | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 5 | 11-29-2004 08:44 PM |
Need some help scripting again | robertthebard | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 6 | 10-22-2003 07:31 AM |
Scripting | Son of Osiris | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 1 | 04-05-2003 08:34 AM |
Please aid me in my scripting | theholyavenger | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 0 | 07-22-2002 12:55 PM |
AI scripting | Sharak | Baldurs Gate & Tales of the Sword Coast | 0 | 11-28-2000 07:10 PM |