03-18-2003, 07:21 PM | #1 | |
Thoth - Egyptian God of Wisdom
Join Date: March 1, 2001
Location: NC
Age: 38
Posts: 2,890
|
3/18 OK, right now I'm trying to figure out how to make a character (an NPC) to appear sitting. I know you can force rest when you play with the DM toolset, but how do I make them "sit" on the area I place them? Also, is it possible to make them appear sitting on furniture, i.e. couches, benches, etc.? 3/22 OK, where is the tileset for those destroyed buildings, as in the ones found in No-Man's Land in the storyline? I'm constructing a rural area, so I don't know whether the area type plays a role in this or not. [ 03-22-2003, 11:09 PM: Message edited by: Nanobyte ] |
|
03-18-2003, 10:55 PM | #2 |
Jack Burton
Join Date: May 31, 2002
Location: Ireland
Posts: 5,854
|
Nah as far as I know it ain't possible to have them simply sitting on the floor (terrain) but on placeables yes, they can sit in chairs just like PC's do. The script needs to be fired from the NPC's onspawn though...
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). 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. [ 03-20-2003, 12:11 AM: Message edited by: SpiritWarrior ]
__________________
Still I feel like a child when I look at the moon, maybe I grew up a little too soon... |
03-22-2003, 10:15 PM | #3 |
Dungeon Master
Join Date: October 13, 2002
Location: High Hall of the Radiant Heart, Athkatla
Age: 35
Posts: 65
|
To make a NPC sit on the ground (when not in a conversation) is:
void main() { ActionPlayAnimation(ANIMATION_LOOPING_SIT_CROSS,1. 0,4000.00); } Make a script that says that, and put it in the OnHeartbeat script on the NPC
__________________
<img border=\"0\" alt=\"[repuke]\" title=\"\" src=\"graemlins/repuke.gif\" /> <br />\"TORM TAKE YOU!!\" |
03-23-2003, 01:42 AM | #4 |
Jack Burton
Join Date: May 31, 2002
Location: Ireland
Posts: 5,854
|
Yes I think you can do it that way but the Onheartbeat will slow down your module, this is why I avoid it....
__________________
Still I feel like a child when I look at the moon, maybe I grew up a little too soon... |
03-24-2003, 02:47 AM | #5 | |
Jack Burton
Join Date: May 31, 2002
Location: Ireland
Posts: 5,854
|
Quote:
[ 03-24-2003, 02:51 AM: Message edited by: SpiritWarrior ]
__________________
Still I feel like a child when I look at the moon, maybe I grew up a little too soon... |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Questions about Aurora | Ivelliis | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 2 | 10-04-2004 10:17 AM |
THIEF 3 Fans come hither! The FAQ is updated now over 100 questions answered | Sythe | Miscellaneous Games (RPG or not) | 4 | 04-03-2004 02:11 AM |
Aurora Tool Set: Questions | Albromor | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 7 | 02-05-2004 11:31 AM |
Nano's party: first game | Nanobyte | Baldurs Gate II: Shadows of Amn & Throne of Bhaal | 6 | 11-17-2002 05:52 PM |
Quick Aurora Questions | True_Moose | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 3 | 10-16-2002 09:56 AM |