Easiest way to do this, make a new blueprint using the "Invisible Object" found under the Misc drop down. Give it the tag you want and the conversation you want. Then your chunk of code should look like this:
case X2_ITEM_EVENT_ACTIVATE:
// * This code runs when the Unique Power property of the item is used or the item
// * is activated. Note that this event fires for PCs only
oPC = GetItemActivator(); // The player who activated the item
oItem = GetItemActivated(); // The item that was activated
location lLoc = GetLocation(oPC);
object oBook = CreateObject(OBJECT_TYPE_PLACEABLE, "mageguildbookinv", lLoc, FALSE, "magebookinv");
AssignCommand(oPC, ActionStartConversation(oBook, "", TRUE));
break;
Good luck.
Modifié par GhostOfGod, 16 mai 2012 - 10:07 .