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