Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   Neverwinter Nights 1 & 2 Also SoU & HotU Forum (http://www.ironworksforum.com/forum/forumdisplay.php?f=16)
-   -   Would like some help... scripting again... (http://www.ironworksforum.com/forum/showthread.php?t=34317)

Calaethis Dragonsbane 07-21-2002 08:03 AM

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.

Chewbacca 07-21-2002 01:48 PM

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)

Calaethis Dragonsbane 07-22-2002 07:28 AM

cheers.


All times are GMT -4. The time now is 02:35 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved