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