void main() { object oTarget; object oPC = GetPCSpeaker(); oTarget = GetObjectByTag("morphdoor"); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }