#include "x0_i0_partywide" void main() { object oTarget; object oPC = GetPCSpeaker(); SetLocalString(oPC, "festam", "1"); // Give 5 experience (to party) to the PC. GiveXPToAll(oPC, 5); oTarget = GetObjectByTag("festoanim"); SetLocked(oTarget, FALSE); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }