#include "x0_i0_partywide" void main() { object oTarget; object oSpawn; location lTarget; effect eEffect; object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; if (GetItemPossessedBy(oPC, "fangsofmog")== OBJECT_INVALID) return; // Give the speaker the items CreateItemOnObject("it_recall001", GetPCSpeaker(), 1); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); oTarget = GetWaypointByTag("WP_MogTrap2"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_net001", lTarget); AddJournalQuestEntry("The Web of Mog", 5, oPC, TRUE, FALSE); oTarget = oPC; eEffect = EffectKnockdown(); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 5.0f); FloatingTextStringOnCreature("A net has fallen on you!", oPC); oTarget = GetObjectByTag("lmpeop1"); AssignCommand(oTarget, ActionStartConversation(oPC, "")); oTarget = GetObjectByTag("lmpeop2"); AssignCommand(oTarget, ActionStartConversation(oPC, "")); DestroyObject(OBJECT_SELF); }