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)
-   -   Toolset need help ! (http://www.ironworksforum.com/forum/showthread.php?t=35478)

Cristian 06-08-2003 03:14 AM

ok i am doing my own mod and its really fun [img]smile.gif[/img] it starts out in a city and when i created a house i wanted people to be able to enter so i did a New area and when they go in the house they enter this new area so far so good but there isnt an exit to go back! how shall i do this? the inside dosent have a door!

SpiritWarrior 06-08-2003 03:28 AM

Well assuming the area they enter is the houses interior you need to make an exit my friend [img]smile.gif[/img] . Just paint down a doorway and slot in a door, then connect the two.

Cristian 06-08-2003 03:48 AM

ok how do i make an exit?

Cristian 06-08-2003 03:55 AM

aha [img]tongue.gif[/img] doorway and then door [img]smile.gif[/img] thx m8 i love ya [img]smile.gif[/img]

Cristian 06-08-2003 04:24 AM

How do i get an Npc to sit down on a chair?

SpiritWarrior 06-08-2003 04:23 PM

Ok bear with me.

The creature would have to be scripted so that when the game begins it finds a chair and performs the ActionSit command.

Create a placeable object chair and give it the tag "CHAIRNPC" or whatever you want (keep it simple). Make the chair usable. Place the NPC next to the chair. Copy and save their 'OnSpawn' script under another name, and add this line at the bottom:

ActionSit (GetNearestObjectByTag ("CHAIRNPC", OBJECT_SELF));

If your gonna call it something else make sure the tag "CHAIRNPC" of the actual chair matches that in the script like I have done above.
Note that when a PC speaks to the NPC, they will stand up. To get them to sit back down, you will need to go to the 'Other Files' tab in their dialogue. You will see spots for two scripts there, which activate when dialogue is either ended or aborted. Make a script that calls the above line and they will sit back down once dialogue is over.

[ 06-08-2003, 04:27 PM: Message edited by: SpiritWarrior ]


All times are GMT -4. The time now is 07:56 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