#include "x0_i0_partywide" void main() { object oTarget; int nInt; // Get the PC who is in this conversation. object oPC = GetPCSpeaker(); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); oTarget = GetObjectByTag("levcltdr"); AssignCommand(oTarget, ActionCloseDoor(oTarget)); SetLocked(oTarget, TRUE); oTarget = GetObjectByTag("levcult1"); AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_levcult1"))); oTarget = GetObjectByTag("levcult1"); nInt = GetObjectType(oTarget); oTarget = GetObjectByTag("levcult1"); DestroyObject(oTarget, 1.0); oTarget = GetObjectByTag("levcltdr"); DelayCommand(1.0, AssignCommand(oTarget, ActionCloseDoor(oTarget))); DelayCommand(1.0, SetLocked(oTarget, TRUE)); }