View Full Version : conversations with corpses


ancientdm
Sun, 25th Aug '02, 3:39am
I am just starting to build a module and am having problems getting my first conversation set up. I would like the player to converse with the spirit of the dead priestess. I would like the conversation to originate when the player clicks on the (placeable object) spear filled corpse whos tag i have made Hebrons spirit. I have tried various formats from the scripting tutorials on the bioware websight but haven't been able to make anything work. I have never tried this before so needless to say I am sure that I am just leaving something unchecked or omitting some reference. If you can help please do. :(

Capt. Tripps
Sun, 25th Aug '02, 7:26am
In the properties of the corpse, under Basic make sure the "usable" box is checked, under Advanced put your conversation file in the conversation box and change the faction to commoner or other non-hostile faction. Under scripts put this in the "OnUsed" script.

void main()
{
object oPC = GetFirstPC();
ActionStartConversation(oPC);
}

This will make the corpse talk but I think it would be better to place a script in the OnUsed box to create a spectre and then converse with that. If you want to do this, then check the NWN-scripters forum on how to create objects.

ancientdm
Sun, 25th Aug '02, 2:05pm
Thanks for your help capt. Tripps I finally have it working. I am going to look into the spectre thing thanks for the idea. It will look much better from the players viewpoint.

Errol
Sun, 25th Aug '02, 2:07pm
Um...AncientDM, have you tried making a conversation appear as soon as you step near the corpse, like...via a trigger?
IE. The PC approaches the corpse, ready to act if anything shall happen with the undead fiend...and suddenly, it sits bolt upright and says; "I've been expecting you...Gerald"

Like that?
(hang on, I'll see if I can work out a script for it.)

EDIT: just read the post above...damn. We'll there's no point in me posting it. Heheh

[ August 25, 2002, 15:14: Message edited by: Gopher ]