Quote:
Originally posted by FelixJaeger:
well ok ive decided to leave my dwarven mine for a minute and messabout in a little city thing or sumthing, but i have another problem when editing NPC's i cand edit a copy as all the files are full?!? like what does that mean?oh and what does "A WIN32 API function failed" mean and how do i fix it?
cheers,
Felix
Edit:how exactly do i get NPC's to sit down? is it in their properties because i cant access it becuz of the win32 app thing?
|
You're full of questions, mate - I'm not going to be able to answer every single one.
I'm not sure about any Win32 error - but that sounds like maybe you need to patch to the latest patch.
With the NPCs sitting down, you need to do 2 things:
1. Make a chair useable (click on its properties)
2. Put this in its OnUsed script:
//This script will allow a PC to sit in a chair
Quote:
void main()
{
object oChair = OBJECT_SELF;
if(!GetIsObjectValid(GetSittingCreature(oChair)))
{
AssignCommand(GetLastUsedBy(), ActionSit(oChair));
}
}
|
For an NPC you just need to use a variation of that. Check out the
Bioware NWN Scripting forum for more details, the scripts don't turn out *quite* right with our forum software here.
Good luck, and remember - try not to do everything at once or you will just get frustrated. Start doing little things, and then move on to the big things after that. And the best way to learn is to open up the Official Campaign in the toolset and check to see how the Bio guys did it.