void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; object oTarget; oTarget = GetObjectByTag("FORCEFIELD4"); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }