Making an item that uses conversation.
LordPas
Member Posts: 47
I want to create an item (anything that can be placed in player inventory) that will start a conversation when used.
It seems that only doors, placeable objects and doors can do a conversation.
I found this, https://nwnlexicon.com/index.php?title=Creating_An_Intelligent_Item
Is that the only way to create an item that can converse?
It seems that only doors, placeable objects and doors can do a conversation.
I found this, https://nwnlexicon.com/index.php?title=Creating_An_Intelligent_Item
Is that the only way to create an item that can converse?
0
Comments
void main()
{
object oPC;
oPC = GetItemActivator();
object oTarget;
oTarget = oPC;
AssignCommand(oTarget, ActionStartConversation(oPC, "conversation name"));
}
A couple of notes here. 1st the conversation will not happen if the PC is in combat. 2nd, any further scripting for the item should happen via the conversation you attach to the item. 3rd, if this item is important and required for further interaction in your module it would be good to make the item undropable, unsaleable, and plot.
Good Luck!