//Put this on action taken in the conversation editor void main() { object oPC = GetPCSpeaker(); object oTarget; oTarget = GetObjectByTag("wolfdoor"); SetLocked(oTarget, FALSE); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }